Re: bidirectional named pipe?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 3 Feb 2001 07:51:41 +0000 (GMT)


> I'm porting some software to Linux that requires use of a bidirectional,
> named pipe. The architecture is as follows: A server creates a named pipe

Pipes are not bidirectional in Linux. We follow traditional non stream
behaviour

> /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().

-
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/