Force socket closed

Kenneth Burgener kenneth at uvlug.org
Fri Mar 17 13:53:32 MST 2006


Bryan Sant wrote:
> On 3/17/06, Kenneth Burgener <kenneth at uvlug.org> wrote:
>> TIME_WAIT.
>>
>> Is there a way to force it to finish the time wait.  The problem is I
>> cannot get the application to bind to the port till it has cleared.
> 
> Run as root:
> sysctl net.ipv4.tcp_tw_recycle=1
> 
> If you want to have this setting survive reboots...
> echo "net/ipv4/tcp_tw_recycle=1" >> /etc/sysctl.conf
> 
> -Bryan


Thanks I will try that.

Kenneth




More information about the PLUG mailing list