Jump to main content

##

# TCPIP_UDP_PacketHandlerDeregister Function

## C

    C
    bool TCPIP_UDP_PacketHandlerDeregister(TCPIP_UDP_PROCESS_HANDLE pktHandle);

## Returns

- true - if the operation succeeded
- false - if the operation failed

## Description

This function removes a packet processing handler.

## Remarks

Exists only if TCPIP_UDP_EXTERN_PACKET_PROCESS is true

## Preconditions

UDP properly initialized

## Example

TCPIP_UDP_PROCESS_HANDLE myHandle = TCPIP_UDP_PacketHandlerRegister(myPacketHandler, myParam ); // process incoming packets // now we're done with it TCPIP_UDP_PacketHandlerDeregister(myHandle);

## Parameters

Parameters | Description
--- | ---
pktHandle | TCPIP packet handle obtained by a call to TCPIP_UDP_PacketHandlerRegister