Jump to main content

##

# TCPIP_DHCP_Renew Function

## C

    bool TCPIP_DHCP_Renew(
        TCPIP_NET_HANDLE hNet
    );

## Description

This function attempts to contact the server and renew the DHCP lease for the specified interface. The interface should have the DHCP enabled and in bound state for this call to succeed.

## Preconditions

The DHCP module must be initialized and enabled, and have a valid lease.

## Parameters

Parameters | Description
--- | ---
hNet | Interface on which to renew the DHCP lease.

## Returns

- True - If successful.
- False - If unsuccessful.

## Remarks

None.