NET_PRES_SIGNAL_FUNCTION Type

C

typedef void (* NET_PRES_SIGNAL_FUNCTION)(NET_PRES_SKT_HANDLE_T handle, NET_PRES_SIGNAL_HANDLE hNet, uint16_t sigType, const void* param); 

Description

Type: NET_PRES_SIGNAL_FUNCTION Prototype of a signal handler. Socket user can register a handler for the socket. Once an event 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
handleThe presentation socket to be used
hNetThe network interface on which the event has occurred
sigTypeThe type of signal that has occurred
paramAn additional parameter that can has been specified at the handler registration call. Currently not used and it will be null.