From owner-freebsd-hackers Sat May 10 13:45:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA20834 for hackers-outgoing; Sat, 10 May 1997 13:45:08 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA20828 for ; Sat, 10 May 1997 13:45:06 -0700 (PDT) Received: from www.sdsp.mc.xerox.com ([13.231.132.18]) by alpha.xerox.com with SMTP id <18916(5)>; Sat, 10 May 1997 13:44:35 PDT Received: from gnu.sdsp.mc.xerox.com (gnu.sdsp.mc.xerox.com [13.231.133.90]) by www.sdsp.mc.xerox.com (8.8.5/8.8.5) with SMTP id QAA23637; Sat, 10 May 1997 16:45:25 -0400 (EDT) Received: by gnu.sdsp.mc.xerox.com (4.1/client-1.3) id AA01420; Sat, 10 May 97 16:44:58 EDT Message-Id: <9705102044.AA01420@gnu.sdsp.mc.xerox.com> To: David Nugent Cc: freebsd-hackers@freebsd.org Subject: Re: socketpair() In-Reply-To: Your message of "Fri, 09 May 1997 23:17:26 PDT." <199705100617.QAA00363@labs.usn.blaze.net.au> Date: Sat, 10 May 1997 13:44:57 PDT From: "Marty Leisner" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199705100617.QAA00363@labs.usn.blaze.net.au>, you write: >What are the advantages (if any) of using socketpair(PF_LOCAL, ... >as compared with pipe()? > >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... Is it in 1003.1g? (I don't have it yet). marty