[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Redirecting to a tcp port



     A TCP port is not a "port" in the sense that a serial device is a 
     port.  An application may access the transport layer (TCP & UDP) using 
     the "sockets" API in which the TCP ports of the client and server 
     machines are specified among other things.  There is no way that I 
     know to do this interactively from a shell.  
     
     It sounds like you want to redirect output to a remote machine that 
     you can telnet to??  If that is the case then I think you are right 
     that this is a job for expect.  I've written expect scripts to do send 
     info over telnet to another machine to accomplish some useful task and 
     it is very capable in this regard.  Maybe if you were more specific 
     about what you're trying to do...
     
     --
     Steve


______________________________ Reply Separator _________________________________
Subject: Redirecting to a tcp port
Author:  dale.smith@bellhow.com at mime
Date:    2/5/98 11:30 AM


Hi All,
     
This isn't really a Debian question, so please forgive me if I am offending 
anyone.
     
Is there a way to redirect standard out to a tcp port?  Piping to telnet doesn't
seem to work.  This is probably a job for expect or something.  Anyway, anyone 
have any ideas?
     
Thanks!
   Dale
--
Dale P. Smith
dale.smith@bellhow.com
Cleveland Linux Users Group: http://cleveland.lug.net/
     
     
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to 
debian-user-request@lists.debian.org .
Trouble?  e-mail to templin@bucknell.edu .

RFC-822-headers:
Received: from CONVERSION-DAEMON by mail.hac.com (PMDF V5.1-10 #26245)
 id <0ENX00E017E92X@mail.hac.com> for "stephen a witt"@mime.mail.hac.com; Thu,
 5 Feb 1998 11:27:46 -0800 (PST)
Received: from PROCESS-DAEMON by mail.hac.com (PMDF V5.1-10 #26245)
 id <0ENX00E017E92U@mail.hac.com> for "stephen a witt"@mime.mail.hac.com; Thu,
 05 Feb 1998 11:27:45 -0800 (PST)
Received: from fw-es05.hac.com by mail.hac.com (PMDF V5.1-10 #26245)
 with ESMTP id <0ENX005JT7E90Y@mail.hac.com> for
 "stephen a witt"@mime.mail.hac.com; Thu, 05 Feb 1998 11:27:45 -0800 (PST)
Received: from debian.novare.net ([205.229.104.5])
 by fw-es05.hac.com (8.8.4/8.8.4) with SMTP id LAA20414 for
 <sawitt@mail.hac.com>; Thu, 05 Feb 1998 11:29:35 -0800 (PST)
Received: (qmail 25501 invoked by uid 38); Thu, 05 Feb 1998 19:31:52 +0000
Received: (qmail 25409 invoked from network); Thu, 05 Feb 1998 19:31:47 +0000
Received: from tis.bellhow.com (firewall-user@38.252.198.21)
 by debian.novare.net with SMTP; Thu, 05 Feb 1998 19:31:47 +0000
Received: by tis.bellhow.com; id OAA13799; Thu, 05 Feb 1998 14:31:42 -0500 (EST)
Received: from mailhost.bellhow.com(198.30.176.2) by tis.bellhow.com via smap
 (3.2) id xma013699; Thu, 05 Feb 1998 14:31:18 -0500
Received: from pcw3089.systems.bellhow.com
 (pcw3089.systems.bellhow.com [192.168.33.217])
 by mailhost.bellhow.com (8.8.4/8.7.5) with SMTP id OAA18895 for
 <debian-user@lists.debian.org>; Thu, 05 Feb 1998 14:31:17 -0500 (EST)
Resent-date: Thu, 05 Feb 1998 19:31:52 +0000
Date: Thu, 05 Feb 1998 19:30:54 +0000 (GMT)
Resent-from: debian-user@lists.debian.org
From: dale.smith@bellhow.com (Dale Smith)
Subject: Redirecting to a tcp port
Resent-sender: debian-user-request@lists.debian.org
Resent-cc:
Resent-message-id: <"f2Ug6C.A.eNG.nOh20"@debian>
Message-id: <[🔎] 34dc12bc.6152616@mailhost>
Organization: Bell & Howell PSC
MIME-version: 1.0
X-Mailer: Forte Agent 1.5/32.451
Precedence: list
X-Envelope-Sender: dale.smith@bellhow.com
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/25940
X-Loop: debian-user@lists.debian.org

Reply to: