From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3e1162e60602020859u33554dces63757c4fdead9287@mail.gmail.com> Date: Thu, 2 Feb 2006 08:59:00 -0800 From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Van Jacobsen's network stack restructure In-Reply-To: <43E16A84.6070809@lanl.gov> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5304_13677791.1138899540468" References: <3e1162e60602011649y2896f4baxf30b9b4db82268e6@mail.gmail.com> <43E16A84.6070809@lanl.gov> Topicbox-Message-UUID: ef87eefc-ead0-11e9-9d60-3106f5b1d025 ------=_Part_5304_13677791.1138899540468 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 2/1/06, Ronald G Minnich wrote: > > David Leimbach wrote: > > > The bash shell supports /dev/tcp.... kind of evil but you can make > > connections and send strings via file redirection with it. > > > so, on the 'how broken is that' scale, where does this one go? > > the scale, btw, goes from 1 to 11 > > ron Well, I've used it to send some data down to a server in a pinch before... when testing things like xinetd servers etc etc. It works kind of sort of Ok :) Someone did an IRC client in bash with it once... don't know where that is anymore. For curiosity's sake: http://www.tldp.org/LDP/abs/html/devref1.html In fact I'm rather ashamed to admit I've done more network programming with /dev/tcp in bash than I have with Plan 9 or Inferno :). The whole clone concept hasn't sunk in for me yet. Some things just still don't feel *right* to me being done through the filesystem. Seems like a square peg in a round hole kind of abstraction sometimes. But *shrug*, it's probably cleaner than sockets :) Keep in mind I spent about 2 years working with Sandia Portals a few years back, so I've got all these whacky RDMA ideas now. :) Dave ------=_Part_5304_13677791.1138899540468 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 2/1/06, Ronald G Minnich <rminni= ch@lanl.gov> wrote:
David Leimbach wrote:

> The bash shell supports /dev/tcp.... kind= of evil but you can make
> connections and send strings via file red= irection with it.


so, on the 'how broken is that' scale, where d= oes this one go?

the scale, btw, goes from 1 to 11

ron

W= ell, I've used it to send some data down to a server in a pinch before...&n= bsp; when testing things like xinetd servers etc etc.

It works kind = of sort of Ok :)

Someone did an IRC client in bash with it once... don't know where = that is anymore.

For curiosity's sake:

http://www.tldp.org/LDP/abs/html/devref= 1.html

In fact I'm rather ashamed to admit I've done more network prog= ramming with /dev/tcp in bash than I have with Plan 9 or Inferno :).  = The whole clone concept hasn't sunk in for me yet.

Some things just = still don't feel *right* to me being done through the filesystem.  See= ms like a square peg in a round hole kind of abstraction sometimes.  B= ut *shrug*, it's probably cleaner than sockets :)

Keep in mind I spent about 2 years working with Sandia Portals a fe= w years back, so I've got all these whacky RDMA ideas now. :)

Dave


------=_Part_5304_13677791.1138899540468--