Jump to main content

##

# TCPIP_DHCP_HOST_NAME_CALLBACK Type

## C

    typedef char* (* TCPIP_DHCP_HOST_NAME_CALLBACK)(TCPIP_NET_HANDLE hNet);

## Description

Type: TCPIP_DHCP_HOST_NAME_CALLBACK.

Prototype of a DHCP callback function that returns the host name to be presented to the server by the DHCP client.

This callback will be called by the DHCP client when communicating to the server and a host name is needed.

## Remarks

There are certain restictions that apply to the host name strings. See the TCPIP_DHCP_HostNameCallbackRegister() function.