DHCPAuto


C Specification

#include <dolphin/ip.h>

BOOL DHCPAuto ( BOOL enable );

Description

DHCPAuto() enables/disables the automatic restart of the DHCP state machine upon configuration failure. By default, if the DHCP configuration is failed, the DHCP state machine is automatically restarted. If the automatic restart is disabled, it is up to an application program to restart the DHCP state machine when the configuration is failed with DHCPStartup().

Arguments

enable Set TRUE to let the DHCP state machine automatically restart the configuration upon configuration failure (default).
Set FALSE to stop the DHCP state machine upon configuration failure. 

Return Values

Previous status.

See Also

DHCPCleanup(), DHCPGetStatus(), DHCPStartup()