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
| Parameters | Description |
|---|---|
| hTCP | TCP socket to be used. |
| hNet | The network interface on which the event has occurred. |
| sigType | Type of TCP signal that has occurred. |
| param | Additional 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.
