Content deleted Content added
Link to kernel.org man pages because they're more up-to-date |
No edit summary |
||
Line 1:
A '''Unix ___domain socket''' or '''IPC socket''' (inter-process communication socket) is a data communications endpoint that is similar to an [[Internet socket]], but does not use a network protocol for communication. It is used in [[POSIX]] [[operating system]]s for [[inter-process communication]]. The correct standard POSIX term is '''POSIX Local IPC Sockets'''.{{cn}}
Unix ___domain connections appear as [[byte stream]]s, much like network connections, but all data remains within the local computer. UNIX ___domain sockets use the file system as address name space, i.e. they are referenced by processes as [[inodes]] in the file system. This allows two distinct processes to open the same socket in order to communicate. However, the actual communication (the data exchange) does not use the file system, but buffers in kernel memory.
|