lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Change IP parameters during runtime


From: Marco Jakobs
Subject: Re: [lwip-users] Change IP parameters during runtime
Date: Mon, 1 Oct 2012 10:00:48 +0200

Hi Stephane,

 

thank you! I've put the calls into my LwIP task.

 

The TCP listening on the old IP *will* be closed, I've tested that … there is no response on the old IP after the change.

 

BR

Marco

 

From: address@hidden [mailto:address@hidden On Behalf Of Stephane Lesage
Sent: Friday, September 28, 2012 6:50 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Change IP parameters during runtime

 

Active TCP connections will be closed immediately.

TCP listening on ANY address will continue to listen.

TCP listening on the old address should be closed (I never checked this case)

 

>Do I need to call the netif_set_addr() in the same task where LwIP is running,

 

Yes

 

>or is it allowed to call it also from another task (it will be ensured that nothing else will call netif_set_addr from my side at the same time)

 

You can just use netifapi_xxx functions which will do the job of executing the netif_xxx functions in the tcpip thread for you.

 

Best regards.

 

--

Stephane Lesage

 


reply via email to

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