TCPIP_DHCP_Enable Function

C

bool TCPIP_DHCP_Enable(
    TCPIP_NET_HANDLE hNet
);

Description

This function enables the DHCP client for the specified interface, if it is disabled. If it is already enabled, no action is taken.

Preconditions

The DHCP module must be initialized.

Parameters

ParametersDescription
hNetInterface to enable the DHCP client on.

Returns

  • True - If successful.

  • False - If unsuccessful.

Remarks

None.