#include <cafe.h> #include <cafe/network.h> int SOIcmpCancel(int handle);
Handle to cancel pings from.
0 upon success. Upon failure,
-1 is returned and
errno is set appropriately.
||Socket library is not initialized.|
||Insufficient memory in the stack.|
||Invalid handle passed.|
||No pending ping.|
||An abnormal operation occurred in the stack. The corresponding handle should be closed for this type of serious error.|
Cancels any pending pings associated with the handle. If
SOIcmpCancel is successful,
SOIcmpPing will return
errno will be set to
For information on an ICMP API overview, see
|Callbacks||Do not call this function from any callback function.|
|Interrupt handler||Do not call this function from any interrupt handler.|
|Exception handler||Do not call this function from any exception handler.|
2014/01/24 Initial version.