Re: Listener in CLOSE_WAIT

Darren New <[email protected]> Thu, 23 Oct 2003 11:02:24 -0700
Newsgroups gmane.network.beep.beepcore.c.general
Message-ID <[email protected]>
Guan Wee LOO wrote:
> "netstat -an" will show all the TCP/IP states in CLOSE_WAIT.

CLOSE_WAIT is a TCP state where the socket is closed, but the kernel is 
keeping around enough information to properly handle packets that might 
have been duplicated and then delayed in the network. It prevents a new 
connection to the socket from accidentally getting confused with a 
closed connection. CLOSE_WAIT should clear up within 256 seconds of the 
actual close, all by itself.

-- 
Darren New, San Diego CA USA (PST)
"He's just a skinhead with a bad haircut."




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/