Jump to main content

##

# 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

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