title: Java, increase the socket timeout
body: <p>I have a simple server client application. Everything works,  but at some stage it takes more than 5 minutes to get response from server (which is normal and it needs to be like this). The problem is that if it takes more than 5 minutes I keep getting this exception: <code>java.net.SocketTimeoutException: Read timed out</code>. </p>
  
  <p>So I was wondering if there is some default socket timeout on windows or on the Java virtual machine I could set? I can't change the client code so <code>setSoTimeout()</code> is not an option for me.</p>
  
  <p>Using Windows XP..</p>
  
  <p>EDIT: As i understand now is that the socket connection is not opened in the client side. Its passed on from the server. So i decompiled allso the server jar file. But still cant find anything about the timeout.</p>