Force socket closed

Bryan Sant bryan.sant at gmail.com
Fri Mar 17 13:50:20 MST 2006


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



More information about the PLUG mailing list