Bryan Sant wrote:
> On 3/17/06, Kenneth Burgener <[EMAIL PROTECTED]> 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
>> suggestions?
> 
> Does your socket sit in the FIN_WAIT or TIME_WAIT state?


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.


"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?



/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to