Date: 11 May 1997 12:22:29 +0100 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> To: David Nugent <davidn@labs.usn.blaze.net.au> Cc: freebsd-hackers@freebsd.org Subject: Re: socketpair() Message-ID: <87iv0qp822.fsf@erlenstar.demon.co.uk> In-Reply-To: David Nugent's message of Sun, 11 May 1997 18:29:43 %2B1000 References: <199705110829.SAA04202@labs.usn.blaze.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "David" == David Nugent <davidn@labs.usn.blaze.net.au> writes: >> I think socketpair gives you bidirectional pipes... David> pipe() should too, I think. I don't. Few uses of pipe() really benefit from bidirectional pipes; they are not standard, and assuming bidirectionality is going to give you a major portability headache. David> I've never come across an implementation that doesn't. Or, at David> least it doesn't seem to matter which returned handle you use David> for reading and which for writing. You must lead a very sheltered life. Other than SVR4, bidirectionality seems to be the exception, not the rule. -- Andrew. comp.unix.programmer FAQ: see <URL: http://www.erlenstar.demon.co.uk/unix/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87iv0qp822.fsf>