1.2.4.1.15 TCPIP_ARP_HandlerRegister Function
C
TCPIP_ARP_HANDLE TCPIP_ARP_HandlerRegister(
TCPIP_NET_HANDLE hNet,
TCPIP_ARP_EVENT_HANDLER handler,
const void* hParam
);
Description
This function will register a notification handler with the ARP module.
Preconditions
The ARP module should have been initialized.
Parameters
Parameters | Description |
---|---|
hNet | Specifies interface to register on. Use hNet == 0 to register on all interfaces available. |
handler | Handler to be called for event. |
hParam | The hParam is passed by the client and will be used by the ARP when the notification is made. It is used for per-thread content or if more modules, for example, share the same handler and need a way to differentiate the callback. |
Returns
TCPIP_ARP_HANDLE
On Success - Returns a valid handle.
On Failure - Null handle.
Remarks
None.