Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 10530 invoked from network); 25 May 2009 05:28:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 May 2009 05:28:37 -0000 Received: (qmail 3901 invoked by uid 500); 25 May 2009 05:28:42 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 3789 invoked by uid 500); 25 May 2009 05:28:40 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 3779 invoked by uid 99); 25 May 2009 05:28:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 May 2009 05:28:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of siddharth.god@gmail.com designates 209.85.216.123 as permitted sender) Received: from [209.85.216.123] (HELO mail-px0-f123.google.com) (209.85.216.123) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 May 2009 05:28:30 +0000 Received: by pxi29 with SMTP id 29so2501937pxi.10 for ; Sun, 24 May 2009 22:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=KjTRmZXtrs9UHX3M/IsH1Um7WomLeYLCtVDSnhk9ZI0=; b=VUWr+ppAe7Es1eIhk3bas57d7mfAdqkVIUtdIiJL7ftG4pXVuKVBHUCCMUOShgzgIk 5x0nJ5fnXttovqLwYuvUlY77PqK6LkgW1RH4ulx37Qf1fEikDgYrnAeizWxhIpBdiZyA zKEowBg48+AxdjWxqxbBUfjaU9GiSsV70JR3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=A6JWhPW4TZKvq8DQTQ4Ib/H1r5nNAkgsUb8Hdia4C74Ndyy9YZo2UcXsJ9kFH4QCXA W4xjUpWn+uNktCugoct+YDHvEpzqeRqYDokfA8apVFlDHXFqcUlBM/gBWYWxG30hDt06 wYV63adbvVd3HbeaSyMd4EAS/KZWpDfTRNNY4= MIME-Version: 1.0 Received: by 10.142.237.20 with SMTP id k20mr2156128wfh.8.1243229289513; Sun, 24 May 2009 22:28:09 -0700 (PDT) Date: Mon, 25 May 2009 10:58:09 +0530 Message-ID: <589d08f60905242228t61c1f408pd916a4c23870a988@mail.gmail.com> Subject: Read time out issue From: Siddharth Godbole To: user@commons.apache.org Content-Type: multipart/alternative; boundary=000e0cd32e0a2d0526046ab5e091 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd32e0a2d0526046ab5e091 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --000e0cd32e0a2d0526046ab5e091--