[lkml]   [1996]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Question about pipe implementation
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_
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean