[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] change port for web server
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] change port for web server |
Date: |
Tue, 7 Aug 2012 19:37:16 +0100 |
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