SOC_DHCPGetStatus

C Specification

#include <nitroWiFi/soc.h>
#define SOC_DHCP_STATE_REQUESTING    2
#define SOC_DHCP_STATE_BOUND         3    
int SOC_DHCPGetStatus ( SOCDHCPInfo* info );

Arguments

info The pointer to the SOCDHCPInfo that receives the host configuration (optional). This argument is included for compatibility issues, but it is ignored in actual use of the function.

Return Values

SOC_DHCP_STATE_BOUND The host IP address has been configured.
SOC_DHCP_STATE_REQUESTING The host IP address has not been configured.

Note: Additional errors may be generated and returned in future library releases. Treat all negative return values as general errors.

Description

Gets the DHCP status.

See Also

Revision History

12/12/2005 Modified Description.
9/13/2005 Initial version.