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    [W:0.040 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site