lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LwIP Support - sethostaddr


From: Marcos Guerra Medina
Subject: Re: [lwip-users] LwIP Support - sethostaddr
Date: Fri, 9 Sep 2011 09:44:56 +0100

Interruptions are a method of available devices and
including processes for the CPU to note the appearance of some
circumstances requiring intervention. Thus, the devices can cause the CPU to stop by the time the job he was doing and attend to the interruption. Once served, will continue his previous work.
When there were no interruptions, it was the processor that had to be
continuously checking the status of the device when needed.
All this time the processor was probing the state of
devices was no time could be devoted to other processes, which
does this mean in terms of performance. For these reasons. thought it best that there was a hotline between the processor and the devices, which devices to the processor indicated they were ready. When the processor comes a break, leaving the care of it right to do what he was doing.


2011/9/8 Kyle Sweet <address@hidden>
Hi Marcos,

Thanks for the prompt feedback!

I'm unclear about what it means to do this by INTERRUPTION.  Can you please explain?

Thanks

Kyle

----- Original Message -----
From: "Marcos Guerra Medina" <address@hidden>
To: "Mailing list for lwIP users" <address@hidden>
Sent: Thursday, September 8, 2011 4:30:35 PM
Subject: Re: [lwip-users] LwIP Support - sethostaddr


I think it is best done by disruptions to close the socket and start with a new connection and the new IP you want.
As to whether it can do When you want, yes, as long as this by INTERRUPTION. Greetings.


2011/9/8 Kyle Sweet < address@hidden >


Hello,

I'm seeking support for using Lwip. I'm not sure if this is the best way to ask a question - if not, could someone please help me direct my question?

Here goes:

I am using LwIP on a Blackfin DSP from Analog Devices. I'm using UDP with static IP addressing and no DHCP. But I want to be able to change the IP address on the fly. I'm trying to use sethostaddr() to accomplish this. I have a few specific questions:

1) Can I just call sethostaddr() at any time, wihtout having to completely re-initialize the TCP/IP stack?
2) Would I then be running with the new IP Address?
3) If I have open sockets, would I need to close them first and re-open new sockets with the new IP address?
4) Is there anything else I need to know about changing IP address in an LwIP application?

Hope to hear back from you!

Cheers,
Kyle

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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