Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 1997 13:44:57 PDT
From:      "Marty Leisner" <leisner@sdsp.mc.xerox.com>
To:        David Nugent <davidn@labs.usn.blaze.net.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: socketpair() 
Message-ID:  <9705102044.AA01420@gnu.sdsp.mc.xerox.com>
In-Reply-To: Your message of "Fri, 09 May 1997 23:17:26 PDT." <199705100617.QAA00363@labs.usn.blaze.net.au> 

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9705102044.AA01420>