|
Prototype of the PING-service callback function that is called when the PING-service has completed the requesting.
- Parameters
-
result | Result of the PING-service request, which equals to:
- FNET_ERR_OK - if correct reply is received.
- FNET_ERR_TIMEDOUT - if there is no correct response during specified timeout.
- Error code, if any happened during receiving.
|
packet_count | Number of request packets to be sent, till the PING-service release.
It equals to 0, when the last packet was sent. |
address | Pointer to a socket address, which equals to:
- Target socket address, if correct reply is received during specified timeout.
- FNET_NULL, if there is no correct response during specified timeout.
|
cookie | User-application specific parameter. It's set during the PING service initialization as part of fnet_ping_params. |
- See also
- fnet_ping_request(), fnet_ping_params
Definition at line 90 of file fnet_ping.h.
|