Is there on windows any default timeout for tcp connection? So when no answere is received the connection would be closed. Why im asking is that on one machine the connection is closed afther 5 minutes.(Windows XP) Running the same client - server connection on other machine the connection is kept open forever like it should be. Or maybe there is some global java virtual machine setting somewhere i should know about?
The server and client run on the same local machine
2 Answers
How about this? It's the same sort of thing you are asking:
4My guess is the two clients actually don't behave identically. If you really want to know what is going on, you'll need a diagnostics tool like wireshark, which is pretty straight forward.