Re: Question about pipe implementation

Aaron M. Ucko (
29 Oct 1996 17:31:18 -0500

Ole Gjerde <> writes:

> My question is therefore: Who is right? Is pipes in Linux not
> implemented using sockets, and if it is, why aren't pipes bi-directional?

As a general rule, pipes are not guaranteed to be bidirectional; the
most portable way to get the behavior you want is to use socketpair().

Aaron M. Ucko ( | For Geek Code, PGP public key, and other info,
finger | "Kids! Bringing about Armageddon can be dangerous.
Do not attempt it in your home." -- T. Pratchett & N. Gaiman, _Good Omens_