TCPIP_TCP_SIGNAL_FUNCTION Type

C

typedef void (* TCPIP_TCP_SIGNAL_FUNCTION)(TCP_SOCKET hTCP, TCPIP_NET_HANDLE hNet, TCPIP_TCP_SIGNAL_TYPE sigType, const void* param);

Description

Type: TCPIP_TCP_SIGNAL_FUNCTION.

Prototype of a TCP signal handler. Socket user can register a handler for the TCP socket. Once an TCP event occurs the registered handler will be called.

Parameters

ParametersDescription
hTCPTCP socket to be used.
hNetThe network interface on which the event has occurred.
sigTypeType of TCP signal that has occurred.
paramAdditional parameter that has been specified at the handler registration call This is user supplied and is not used by the TCP module.

Remarks

The handler has to be short and fast. It is meant for setting an event flag, not for lengthy processing.