Re: bidirectional named pipe?

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Sat Feb 03 2001 - 09:28:56 EST


Alan Cox wrote:
> > /dev/spx". I experiemented with socket-based pipes under Linux, but I
> > couldn't gain access to them by open()ing the name. Is there help? I
>
> AF_UNIX sockets are bidirectional but like all sockets use bind() and
> connect().

And that's because sockets don't behave like bidirectional fifos.
Each connection to a socket is a distinct stream.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:18 EST