TCPCancel


C Specification

#include <dolphin/ip.h>

s32 TCPCancel ( TCPInfo* info );

Description

TCPCancel() aborts the currently on-going operations on info, and resets the connection by sending a RST segment. The callback functions specified with the other functions with info will be called from TCPCancel().

Arguments

info Pointer to TCPInfo to cancel the operation

Return Values

IP_ERR_NONE Succeeded.
IP_ERR_INVALID info is not a valid TCPInfo
IP_ERR_NOT_EXIST Connection does not exist

Callback specific result values

IP_ERR_RESET Connection reset

See Also