Unix ___domain socket

This is an old revision of this page, as edited by Dublinclontarf (talk | contribs) at 12:42, 10 April 2008 (External links: Adding link for use as reference). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A Unix ___domain socket (UDS) or IPC socket (inter-process communication socket) is a virtual socket, similar to an internet socket that is used in POSIX operating systems for inter-process communication. The correct standard POSIX term is POSIX Local IPC Sockets.

These connections appear as byte streams, much like network connections, but all data remains within the local computer. UNIX ___domain sockets use the file system as the address name space, i.e they use files to communicate.

In addition to sending data, processes can send file descriptors across a Unix ___domain socket connection using the sendmsg() and recvmsg() system calls.