Date: Sun, 11 May 1997 10:55:47 -0500 (EST) From: "John S. Dyson" <toor@dyson.iquest.net> To: davidn@labs.usn.blaze.net.au (David Nugent) Cc: leisner@sdsp.mc.xerox.com, freebsd-hackers@FreeBSD.ORG Subject: Re: socketpair() Message-ID: <199705111555.KAA08056@dyson.iquest.net> In-Reply-To: <199705110829.SAA04202@labs.usn.blaze.net.au> from David Nugent at "May 11, 97 06:29:43 pm"
index | next in thread | previous in thread | raw e-mail
> > >I remember some discussion a while ago about pipe() in FreeBSD > > >having been implemented (until recently?) using socketpair(), > > >so perhaps there's no difference. What about with regards to > > >portability and so forth? > > > > I think socketpair gives you bidirectional pipes... > > pipe() should too, I think. I've never come across an implementation > that doesn't. Or, at least it doesn't seem to matter which returned > handle you use for reading and which for writing. > I wrote most of our new pipe code -- and I might be a little bit confused... I meant to support bidirectional pipes, and it sure looks like we have them (at least looking at the code.) Haven't tested it recently though. Johnhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705111555.KAA08056>
