Embedded TCP/IP stack
4.7.0
|
fnet_dhcp_cln_desc_t fnet_dhcp_cln_init | ( | fnet_dhcp_cln_params_t * | params | ) |
Initialize the DHCPv4 client service.
params | Initialization parameters. |
0
if an error occurs.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.