Embedded TCP/IP stack  4.7.0

◆ fnet_dhcp_cln_init()

fnet_dhcp_cln_desc_t fnet_dhcp_cln_init ( fnet_dhcp_cln_params_t params)

Initialize the DHCPv4 client service.

Parameters
paramsInitialization parameters.
Returns
This function returns:
  • DHCP client descriptor if no error occurs.
  • 0 if an error occurs.
See also
fnet_dhcp_cln_release()

This function initializes the DHCPv4 client service. It allocates all resources needed and registers the DHCP service in the polling list.
After the initialization, the user application should call the main polling function fnet_service_poll() periodically to run the DHCP service routine in the background.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net