Problem in socket programming
I've created a multithreaded server and have accepted the connections from the clients. now wat i want to do is to close the existing socket connection in each thread and create a new socket connection to the client in every thread by using the same server socket. i've tried to do so.. but i get an exception:
java.net.SocketException: Connection reset
Somebody help me solve this problem..
thanks in advance
Re: Problem in socket programming
Welcome to the Java Programming Forums.
Please post the code you have written. Include it within the highlight tags (see my signature)