[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] change port for web server
From: |
vincent cui |
Subject: |
Re: [lwip-users] change port for web server |
Date: |
Wed, 8 Aug 2012 00:11:30 +0000 |
HI :
How to know the socket is in TCP time-wait state ?
If I apply for new port, I need delete the current web server task and create
new task again .
Vincent
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Kieran Mansley
Sent: 2012年8月8日 2:37
To: Mailing list for lwIP users
Subject: Re: [lwip-users] change port for web server
On 7 Aug 2012, at 06:01, vincent cui wrote:
> I develop a web server with LWIP SOCKET API, it has a function which could
> change HTTP port value and relogin again .
> After apply for new HTTP port, it also needs wait 2min to make sure TCP is in
> timeout state ?
No, the only time you need to wait for a timeout is if the socket is in the TCP
time-wait state and you want to re-use the same port. If you're using a new
port then the time-wait state should not matter.
Kieran
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users