Jump to main content

##

# NET_PRES_TransHandlerRegister Type

## C

    typedef NET_PRES_SIGNAL_HANDLE (* NET_PRES_TransHandlerRegister)(NET_PRES_SKT_HANDLE_T handle, uint16_t sigMask, NET_PRES_SIGNAL_FUNCTION handler, const void* hParam);

## Returns

The handle of a signal handler.

## Description

Transport Layer Register Handler Function Pointer Prototype This function is called by the presentation layer when the application wants to register a handler function.

## Preconditions

A socket needs to have been opened by NET_PRES_TransOpen.

## Parameters

Parameters | Description
--- | ---
handle | The handle returned from NET_PRES_TransOpen.
sigMask | The event mask.
handler | The event handler function.
hParam | Parameters passed to the handler function.