Pages

Sunday, June 07, 2009

Multiple Network (Telnet) Connection Problem

I got this just now in the morning. Using JAVA I was making telnet connection to another server. It is about 25 simultaneous connection using threads. But sometimes I was getting exception to connect. But after the exception other threads were again connecting. I was really puzzled here. But the solution is really simple. I just added a one second delay before making each connection and now its working fine.

No comments:

Post a Comment