Jump to main content

##

# TCPIP_DHCPS_IsEnabled Function

## C

    bool TCPIP_DHCPS_IsEnabled(TCPIP_NET_HANDLE hNet)

## Description

Determines if the DHCP Server is enabled on the specified interface.

This function returns the current state of the DHCP Server on the specified interface.

## Precondition

The DHCP Server module must be initialized.

## Parameters

Parameters | Description
--- | ---
hNet | Interface to query

## Returns

- true - server is enabled on the selected interface

- false - server is disabled; or wrong interface, service is down, etc.

## Remarks

In multi-threaded environments the returned information is info only and can change at any time.