[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 08:53:21 +0000 |
Thank you very much ... I know how to go on .
Vincent
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Kieran Mansley
Sent: 2012年8月8日 16:53
To: Mailing list for lwIP users
Subject: Re: [lwip-users] change port for web server
On 8 Aug 2012, at 01:11, vincent cui wrote:
> How to know the socket is in TCP time-wait state ?
You can't. Any socket that you have a file descriptor for is not in the time
wait state. If you find that you want to re-use a port on a new socket and
can't because there is another socket in the time wait state you could consider
using the SO_REUSEADDR socket option to allow you to re-use it immediately.
Kieran
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users