#include <dolphin/ip.h>
struct ICMPInfo
{
//
// Note do not access members without API functions
//
IPInfo info;
IPSocket local; // Bind
IPSocket remote; // Connect
ICMPObj obj;
};
s32 ICMPCancel( ICMPInfo* info, s32 err );
ICMPCancel() aborts the currently on-going ICMPPing().
The callback function specified with ICMPPing()
will be called from
ICMPCancel(). err is set to
the result value of the callback function.
info |
The pointer to the data structure that represents an endpoint for ICMP communication. |
err |
An error code set to the result value of the callback function of ICMPPing(). |