||Type for the callback to execute on ping reply.
rtt is only used to tell if a reply was received.Parameters
mira_status_t mira_net_ping_send( const mira_net_address_t* address, mira_net_ping_callback_t cb, void* storage);
Send a ping to the specified address.
The callback is only called once. Either at the first ping reply or when mira_net_ping_send is called the next time. The callback's rtt argument is < 0 if no reply was received.
||The node address.|
||The callback function, executes on ping reply.|
||Storage pointer which is used to store optional information to be used by the callback function. E.g. it could be used as an identifier or to pass on a configuration struct.|
MIRA_SUCCESS if successful.