[ale] TIME_WAIT

Michael D. Hirsch mdhirsch at mail.com
Mon May 6 13:22:55 EDT 2002


jb at sourceillustrated.com writes:
 > I have a process that listens on a port for incoming connections on a
 > solaris box.  However, when I kill this process, the port remains in state
 > TIME_WAIT.
 > 
 > Is there a utility out there that can send a RST to this connection?  The
 > default solaris behavior is to wait for around 240 seconds...which is a bit
 > irritating when trying to get the process restarted quickly.

I think this is the classic case of needing SO_REUSEADDR in the socket
options.  This has bitten me more than once. 

See socket(7).

--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.






More information about the Ale mailing list