http://www.perlmonks.org?node_id=990110


in reply to TCP Socket and TIME_WAIT

TIME_WAIT is an integral part of the TCP protocol state, and the socket will always enter TIME_WAIT for a period in the the host which first closed the socket.

See the TCP state diagram

Dave.