[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Forcing the TIME_WAIT issue
- Subject: [ale] Forcing the TIME_WAIT issue
- From: mhirsch at nubridges.com (Michael D. Hirsch)
- Date: Tue, 22 Oct 2002 14:01:58 -0400
On Tuesday 22 October 2002 01:52 pm, John Wells wrote:
> I posted something similar to this awhile back, but don't think I
> ever got a definitive answer.
>
> I have a Tcl module that listens on port 2000 on Solaris 2.6. When I
> stop the process (essentially a kill), it leaves the port in
> TIME_WAIT for approx. 4 minutes iirc. I understand the logic behind
> this, but is there anyway to free up the port and force it out of
> TIME_WAIT?
You need to set the socket or be reused. I don't recall offhand--it's
something like SO_REUSE--check the man page for the socket
options.
Michael
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.