From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 5 Apr 2006 19:54:17 +0300 From: Aharon Robbins Subject: Re: [9fans] netcat, the only stdin/stdout redirector to tcp/udp conns? In-reply-to: <775b8d190604041510h368f22aen31067a6e7333c8cc@mail.gmail.com> To: 9fans@cse.psu.edu Cc: Message-id: <200604051654.k35GsH7o023968@skeeve.com> MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=WINDOWS-1255 References: <4432E333.7070106@gmail.com> Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 3062226c-ead1-11e9-9d60-3106f5b1d025 Actually, this was done first in the Korn shell. (Surprise, surprise.) Arnold In article <775b8d190604041510h368f22aen31067a6e7333c8cc@mail.gmail.com> = you write: >bless bash. that's a disgusting hack. > >brucee > >On 4/5/06, Llu=EDs Batlle i Rossell wrote: >> Paul Hebble wrote: >> > /dev/tcp/host/port >> > If host is a valid hostname or Internet >> > address, and port is an integer port number >> > or service name, bash attempts to open a TCP >> > connection to the corresponding socket. >> > /dev/udp/host/port >> > If host is a valid hostname or Internet >> > address, and port is an integer port number >> > or service name, bash attempts to open a UDP >> > connection to the corresponding socket. >> And any other proposal for a listen? I think 'gawk' won't work fine as= a >> listener, specially for binary files (I'd like not to uuencode/uudecod= e >> the transmission, although it went through my head). >> Thanks! --=20 Aharon (Arnold) Robbins --- Pioneer Consulting Ltd. arnold AT skeeve DOT = com P.O. Box 354 Home Phone: +972 8 979-0381 Fax: +1 206 350 8765 Nof Ayalon Cell Phone: +972 50 729-7545 D.N. Shimshon 99785 ISRAEL