Jump to content

Talk:Unix domain socket

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Abdull (talk | contribs) at 20:52, 9 March 2015 (Name: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
???This article has not yet received a rating on the project's importance scale.

Filesystem

They are referenced by processes as inodes in the file system.

This is not quite correct. On several OS you can set the first byte of the pathname to 0, causing the following name to be looked up in a filesystem independent namespace (without any filesystem access control checks). Even from within a chroot.

Notes

The PF_UNIX (also known as PF_LOCAL) socket family is used to communicate between processes on the same machine efficiently. Unix sockets can be either anonymous (created by socketpair) 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 datagrams.

Unix sockets support passing file descriptors or process credentials to other processes using ancillary data. 220.225.70.2 04:58, 4 April 2007

Advertising based resources

Why do the external links point to copies of the Linux documentation on an ad-covered page, rather than the authoritative source? --David Chisnall (talk) 18:35, 19 November 2007 (UTC)[reply]

Name

What does domain in Unix domain socket stand for? --Abdull (talk) 20:52, 9 March 2015 (UTC)[reply]