This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Threads and Sockets
Posted by Ranjan on February 28, 2001 at 6:24 AM
Hi all, I am facing a problem.Can anybody help me: I am talking to a server. Now if after a certain amount of time I do not get any response I switch to another server. And again I send a message to this new server.Now the problem I am facing is that it talks to the new server on the first attempt but all subsequent attempts fail. I have spawned a listener thread for each receive.
Replies:
|