1.2.8.1 WDRV_WINC_ICMP_ECHO_RSP_EVENT_HANDLER Typedef

C

typedef void (*WDRV_WINC_ICMP_ECHO_RSP_EVENT_HANDLER)

Summary

Pointer to an ICMP echo response event handler function.

Description

This data type defines a function event handler which is called in response to an ICMP echo request response event.

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
ipAddressIPv4 address.
rttThe round-trip time.
statusCodeStatus code.

Returns

None.

Remarks

Only supported with the socket mode WINC driver. The status code indicates if the ICMP echo request was successful or not. It may take the form of either: PING_ERR_SUCCESS - The request was successful. PING_ERR_DEST_UNREACH - The destination was unreachable. PING_ERR_TIMEOUT - The request timed out.