TCPIP_DHCP_IsServerDetected Function

C

bool TCPIP_DHCP_IsServerDetected(
    TCPIP_NET_HANDLE hNet
);

Description

This function determines if the DHCP client on the specified interface received any reply from a DHCP server.

Preconditions

The DHCP module must be initialized.

Parameters

ParametersDescription
hNetInterface to query.

Returns

  • True - At least one DHCP server is attached to the specified network interface.

  • False - No DHCP servers are currently detected on the specified network interface.

Remarks

None.