|Top Previous Next|
Several procedures in the library utilize the en_dhcp_status_codes enum. This enum has the following members:
0- DHCP_STATUS_OK: success.
1- DHCP_STATUS_OUT_OF_SOCKETS: no free sockets available for the library to operate.
2- DHCP_STATUS_INVALID_INTERFACE: unsupported network interface specified (use PL_SOCK_INTERFACE_NET or PL_SOCK_INTERFACE_WLN only).
3- DHCP_STATUS_INSUFFICIENT_BUFFER_SPACE: insufficient number of buffer pages available and the call to callback_dhcp_pre_buffrq() failed to cure the problem.
4- DHCP_STATUS_FAILURE: interaction with the DHCP server failed (because there was no reply, the reply was unrecognized, invalid, etc.).