Talk:Unix domain socket
Appearance
The PF_UNIX (also known as PF_LOCAL) socket family is used to communi-
cate between processes on the same machine efficiently. Unix sockets
can be either anonymous (created by socketpair(2)) or associated with
a file of type socket. Linux also supports an abstract namespace
which is independent of the file system.
Valid types are SOCK_STREAM for a stream oriented socket and
SOCK_DGRAM for a datagram oriented socket that preserves message
boundaries. Unix sockets are always reliable and donât reorder data-
grams.
Unix sockets support passing file descriptors or process credentials
to other processes using ancillary data.