lkml.org 
[lkml]   [1996]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Question about pipe implementation
From
Date
Ole Gjerde <gjerde@plains.nodak.edu> 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 (amu@mit.edu) | For Geek Code, PGP public key, and other info,
finger amu@monk.mit.edu. | "Kids! Bringing about Armageddon can be dangerous.
Do not attempt it in your home." -- T. Pratchett & N. Gaiman, _Good Omens_
\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans