TCPIP_STACK_HandlerDeregister Function

C

bool TCPIP_STACK_HandlerDeregister(
    TCPIP_EVENT_HANDLE hEvent
);

Description

This function removes an event notification handler.

Preconditions

The TCP/IP stack should have been initialized by TCPIP_STACK_Initialize() and the TCPIP_STACK_Status() returned SYS_STATUS_Ready.

Parameters

ParametersDescription
hEventTCPIP event handle obtained by a call to TCPIP_STACK_HandlerRegister.

Returns

  • True - If the operation succeeded.

  • False - If the operation failed.

Remarks

None.

Example

TCPIP_EVENT_HANDLE myHandle = TCPIP_STACK_HandlerRegister( hNet, TCPIP_EV_CONN_ALL, myEventHandler, myParam );
// do something else
// now we're done with it
TCPIP_STACK_HandlerDeregister(myHandle);