SUPPORT THE WORK

GetWiki

Unix domain socket

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
Unix domain socket
[ temporary import ]
please note:
- the content below is remote from Wikipedia
- it has been imported raw for GetWiki
{{short description|Socket for exchanging data between processes executing on the same OS}}A Unix domain socket aka UDS or IPC socket (inter-process communication socket) is a data communications endpoint for exchanging data between processes executing on the same host operating system. It is also referred to by its address family AF_UNIX.

Sockets

Valid socket types in the UNIX domain are:WEB
,weblink
, 30 April 2018
, Linux Programmer's Manual (unix - sockets for local interprocess communication)
, 22 February 2019
, dmy-all,
  • SOCK_STREAM (compare to TCP) – for a stream-oriented socket
  • SOCK_DGRAM (compare to UDP) – for a datagram-oriented socket that preserves message boundaries (as on most UNIX implementations, UNIX domain datagram sockets are always reliable and don't reorder datagrams)
  • SOCK_SEQPACKET (compare to SCTP) – for a sequenced-packet socket that is connection-oriented, preserves message boundaries, and delivers messages in the order that they were sent
The Unix domain socket facility is a standard component of POSIX operating systems.The API for Unix domain sockets is similar to that of an Internet socket, but rather than using an underlying network protocol, all communication occurs entirely within the operating system kernel. Unix domain sockets may use the file system as their address name space. (Some operating systems, like Linux, offer additional namespaces.) Processes reference Unix domain sockets as file system inodes, so two processes can communicate by opening the same socket.In addition to sending data, processes may send file descriptors across a Unix domain socket connection using the sendmsg() and recvmsg() system calls. This allows the sending processes to grant the receiving process access to a file descriptor for which the receiving process otherwise does not have access.WEB,weblink 30 September 2000, Archive of the "Postfix Discussions" mailing list, 29 September 2014,weblink" title="web.archive.org/web/20130518084034weblink">weblink 18 May 2013, dead, dmy-all, WEB,weblink Linux man page - cmsg(3): access ancillary data, 9 October 2018, dmy-all, This can be used to implement a rudimentary form of capability-based security.WEB,weblink "Secure Programming for Linux and Unix HOWTO", Section 3.4 "Sockets and Network Connections", 22 August 2004, dwheeler.com, David A. Wheeler, 29 September 2014,

See also

References

{{Reflist}}

External links

{{Inter-process communication}}{{Use dmy dates|date=January 2019}}

- content above as imported from Wikipedia
- "Unix domain socket" does not exist on GetWiki (yet)
- time: 7:34am EDT - Sat, May 18 2024
[ this remote article is provided by Wikipedia ]
LATEST EDITS [ see all ]
GETWIKI 23 MAY 2022
GETWIKI 09 JUL 2019
Eastern Philosophy
History of Philosophy
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
CONNECT