#include <nitroWiFi/soc.h>
#define SOC_DHCP_STATE_REQUESTING 2
#define SOC_DHCP_STATE_BOUND 3
int SOC_DHCPGetStatus ( SOCDHCPInfo* info );
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. |
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.
Gets the DHCP status.
12/12/2005 Modified Description.
9/13/2005 Initial version.