when using DHCP I call netifapi_dhcp_start() ant poll netif_is_up() until the interface is up.

after some long time, if no connection can be made, I want to start DHCP again (maybe the cable was diconnected and connected to another network), what should be the correct procedure?

Should I jusr call netif_set_down() and start dhcp again? Will DHCP renew itself after some timeout?

Sorry, but I could no find a clear doc about this...

Thanks,
Alain


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to