Subj : Re: Closing tcp socket connections To : comp.programming From : Clint Moulds Date : Sun Aug 14 2005 05:55 pm Are you closing the connections on the client side? Calling close() on the server will free the descriptor, but it is up to the TCP stack to go through its state machine to actually close the connection. Your code is probably getting into one of the half-closed states in TCP, hence the TIME_WAIT connections. .