Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 8107 invoked from network); 27 Mar 2008 02:29:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 02:29:53 -0000 Received: (qmail 77582 invoked by uid 500); 27 Mar 2008 02:29:48 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 77267 invoked by uid 500); 27 Mar 2008 02:29:47 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 77258 invoked by uid 99); 27 Mar 2008 02:29:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 19:29:47 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 02:28:57 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jehrh-0006mj-Kv for user@commons.apache.org; Wed, 26 Mar 2008 19:29:17 -0700 Message-ID: <16320274.post@talk.nabble.com> Date: Wed, 26 Mar 2008 19:29:17 -0700 (PDT) From: youhaodeyi To: user@commons.apache.org Subject: Can I get a command return value by telnet MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: youhaodeyi@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org I use commons-net packet to communicate with a Telnet Server. I can get the Telnet input and output stream. But if I write a command to the output stream, i can get the command's output, how can I get the command return value? -- View this message in context: http://www.nabble.com/Can-I-get-a-command-return-value-by-telnet-tp16320274p16320274.html Sent from the Commons - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org