Force socket closed
kenneth at uvlug.org
Fri Mar 17 12:52:36 MST 2006
Bryan Sant wrote:
> On 3/17/06, Kenneth Burgener <kenneth at uvlug.org> wrote:
>> Is there a way to force a socket to be closed? I had an application
>> that was forcefully closed. I believe the kernel will eventually close
>> it, but I would prefer not to have the several minute wait. Any
> Does your socket sit in the FIN_WAIT or TIME_WAIT state?
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.
"I don't know about an individual socket, but you could play with the
value in /proc/sys/net/ipv4/tcp_fin_timeout"
Is the 60 in seconds, or minutes?
More information about the PLUG