Re: bidirectional named pipe?

Doug McNaught (doug@wireboard.com)
09 Feb 2001 20:37:44 -0500


"David L. Nicol" <dnicol@cstp.umkc.edu> writes:

> According to the Understanding the Linux Kernel book I
> plowed through yesterday afternoon the EXT2 file system
> has a defined file type "socket," distinct from fifo.
>
> How does one set up a named socket in a file system? Is it
> a legacy constant that has never been supported or what?
>

Call bind() on an AF_LOCAL (aka AF_UNIX) socket.

About as far from legacy as you can get...

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