Socket OK only for 10 minutes
843790Dec 18 2008 — edited Jan 8 2009I have a client/server application in which the client sends to server a String every second. The program works well, but exactly 10 minutes past from the time client connected the server throws "java.net.SocketException: Connection reset" and stops to receive the Strings, but the client continues working normally sending the Strings and the method socket.isConnected() at client continues returning true. This problem doesnt occur when I run the programs in localhost.
I tried do socket.setSoTimeOut(0), but the problem keeps. Somebody knows how to help me?