UDPCancel


C Specification

#include <dolphin/ip.h>

s32 UDPCancel ( UDPInfo* info );

Description

UDPCancel() aborts the currently on-going UDPSendAsync() and/or UDPReceiveAsync() operation. The callback function specified with UDPSendAsync() and/or UDPReceiveAsync() will be called from UDPCancel().

Arguments

info Pointer to UDPInfo to cancel the operation.

Return Values

IP_ERR_NONE Succeeded.
IP_ERR_INVALID info is not a valid UDPInfo.

See Also