Jump to main content

##

# 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

Parameters | Description
--- | ---
hUDP | UDP socket to be used
hNet | the network interface on which the event has occurred
sigType | type of UDP signal that has occurred
param | additional parameter that can has been specified at the handler registration call Currently not used and it will be null.