Messages in this thread |  | | Subject | Re: Question about pipe implementation | From | (Aaron M. Ucko) | Date | 29 Oct 1996 17:31:18 -0500 |
| |
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_
|  |