@CHIP-RTOS C Library V2.06 - TCP/IP API
Ping_Open
Open and start ICMP echo requests. int Ping_Open ( Ping far *pingptr, int *error ); Parameters
pingptr
- Pointer to user's Ping
structure.
The contents of this structure will be initialized by this
function call.
error
- Output parameter: Failure
code, 0 on success.
Return Value
- -2: Ping API not supported by RTOS version
-1: Failure, see reported error
code.
>= 0: Socket descriptor
Comments
- Note: This API will send ICMP packets forever, until you
call Ping_Close.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|