You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Siddharth Godbole <si...@gmail.com> on 2009/05/25 07:28:09 UTC
Read time out issue
Hi,
I am using commons net version of 1.4.1 for connection with a telnet
server. I have set SO Timeout as 30 seconds. This is what is happening
currently:
First request sent to device is always successful. If i send another
request within 30 seconds of seconds request, request is send successfully
but while reading response, I get Socket read timeout immediately. However
if my requests are spaced by 30 seconds, both requests are successful. I am
running my client application on Solaris machine. Telnet server is also
running on Solaris.
Can someone tell me what could be wrong?
Thanks,
Sid
Re: Read time out issue
Posted by Steve Cole <sc...@camsbycbs.com>.
Need to see the code.
----- Original Message -----
From: "Siddharth Godbole" <si...@gmail.com>
To: <us...@commons.apache.org>
Sent: Monday, May 25, 2009 1:28 AM
Subject: Read time out issue
> Hi,
>
> I am using commons net version of 1.4.1 for connection with a telnet
> server. I have set SO Timeout as 30 seconds. This is what is happening
> currently:
> First request sent to device is always successful. If i send another
> request within 30 seconds of seconds request, request is send successfully
> but while reading response, I get Socket read timeout immediately. However
> if my requests are spaced by 30 seconds, both requests are successful. I
am
> running my client application on Solaris machine. Telnet server is also
> running on Solaris.
>
> Can someone tell me what could be wrong?
>
> Thanks,
> Sid
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org