Re: bidirectional named pipe?
Jamie Lokier (lk@tantalophile.demon.co.uk)
Sat, 3 Feb 2001 15:28:56 +0100
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/