Hi, i�m writing a Client/Server application, which are both running on my local machine. The Client connects to the Server and then both start a thread to do the communication. At the end of both threads i close the sockets. But then the socket go into the time_wait state(given by the netstat-programm). Why is this so? This is so even when the whole java-process is over. By the way, if i don�t close the socket and the java-process is over then there are no sockets left (netstat). Thank you.