Frank Samuelson wrote: > For several minutes after my server program > terminates, the sockets that it created remain in an ESTABLISHED state > (according to netstat). > Aren't the connections supposed to revert to a TIME_WAIT state? Are you fork()ing any children? If the descriptor is inherited, it isn't "closed" until it is closed in every process. Try using "fuser" or "lsof" to see if any processes are associated with the socket. -- Glynn Clements <glynn.clements@virgin.net> - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html