lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] How to renew DHCP


From: Alain Mouette
Subject: [lwip-users] How to renew DHCP
Date: Mon, 01 Feb 2010 23:40:44 -0200
User-agent: Thunderbird 2.0.0.23 (X11/20090812)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]