Jump to main content

##

# TCPIP_DNS_EVENT_HANDLER Type

## C

    typedef void (* TCPIP_DNS_EVENT_HANDLER)(TCPIP_NET_HANDLE hNet, TCPIP_DNS_EVENT_TYPE evType, const char* name, const void* param);

## Description

Type: TCPIP_DNS_EVENT_HANDLER.

The format of a notification handler registered with the DNS module. Once an DNS event occurs the DNS service will be called for the registered handler.

## Members

Members | Description
--- | ---
hNet | The interface on which the DNS event occurred.
evType | The DNS reported event.
name | The host name associated with the event.
param | Additional user parameter - see TCPIP_DNS_HandlerRegister.

## Remarks

If pNetIf == 0, the notification is called for events on any interface.