Hi
ipcfg_bind_dhcp : Binds Ethernet device to networking using DHCP protocol.
ipcfg_bind_dhcp_wait : Bind Ethernet device to network using a DHCP protocol, blocking mode. This function will not return until the process is finished or error occures.
As the DHCP address resolving make take some time. I suggest you using ipcfg_bind_dhcp_wait().
Regards
Daniel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------