www.beck-ipc.com

@CHIP-RTOS C Library - 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

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

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document