TCPIP_UDP_SIGNAL_FUNCTION Type

C

typedef void (* TCPIP_UDP_SIGNAL_FUNCTION)(UDP_SOCKET hUDP, TCPIP_NET_HANDLE hNet, TCPIP_UDP_SIGNAL_TYPE sigType, const void* param); 

Description

Type: TCPIP_UDP_SIGNAL_FUNCTION Prototype of a UDP signal handler. Socket user can register a handler for the UDP socket. Once an UDP signals occurs the registered handler will be called.

Remarks

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

Parameters

ParametersDescription
hUDPUDP socket to be used
hNetthe network interface on which the event has occurred
sigTypetype of UDP signal that has occurred
paramadditional parameter that can has been specified at the handler registration call Currently not used and it will be null.