I have a socket server program running on a remote machine,I want to send data through a client socket program without creating a new socket connection everytime. As long as the server socket is open i just need to send the data.need the java code for the same. This is the code im currently using Works fine the first time.Second time i run it,it says connection refused.I have a socket server program running on a rem