01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Top of list<br />

Index page<br />

Console PING command<br />

Interrupt 0xAC service 0x76: PING_CLOSE, Finish ICMP echo requests<br />

Parameters<br />

AH<br />

BX<br />

This function stops cyclic ICMP echo request (ping).<br />

0x76 (= PING_CLOSE)<br />

Socket descriptor from inside Ping structure from PING_OPEN call.<br />

Return Value<br />

Comments<br />

DX: -1, AX -1, Ping close failed, should not happen, only if socket descriptor is invalid<br />

else<br />

DX: 0, AX: 0: success<br />

The ping socket is closed here.<br />

Related Topics<br />

Top of list<br />

Index page<br />

PING_OPEN API<br />

Interrupt 0xAC service 0x77: PING_STATISTICS, Retrieve ping information<br />

Parameters<br />

AH<br />

ES:DI<br />

The user can retrieve ping information by calling PING_STATISTICS.<br />

0x77 (= PING_STATISTICS)<br />

Pointer to user's Ping structure from PING_OPEN call<br />

Return Value<br />

Comments<br />

DX = 0, AX = 0: Success<br />

DX = -1, AX = -1: Failure<br />

Page 138 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!