On Tue, Dec 04, 2001 at 05:37:48PM +1100, Harry Ohlsen wrote: > My mate has a process that has a socket open. The process has been killed > off (as far as he can tell ... can't see it anymore in a ps) but the socket > is still open (he can see it in netstat and trying to run the program that
Are you sure it's still open, i.e. the state shown by nestat is ESTABLISHED? If the process really has been terminated, then it's more likely be in the TIME_WAIT state. > opens it again dies because the port is in use). If SO_REUSEADDR wasn't specified when the socket was opened, nothing can use the port again until the connection is closed and exited the TIME_WAIT state (about 4 minutes IIRC). > Unfortunately, this is something he didn't write, so he can't change the > source code. Then he's out of luck. Cheers, John -- whois [EMAIL PROTECTED] GPG key id: 0xD59C360F -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
