← BYTES
Unix IPC·Starter·Ref: 15.1.4

What is a Unix domain socket typically used for?

Have a question about this video? Mention reference 15.1.4 when you contact us.

a.Communicating with a web server over the public internet
b.Compiling C source code
c.Formatting a hard drive
d.IPC between processes on the SAME machine, offering a more flexible, bidirectional alternative to pipes
Unix domain sockets provide socket-style (bidirectional, connection-oriented or datagram) communication scoped to a single machine, addressed via a filesystem path rather than an IP address/port -- a common choice for same-machine IPC that needs more flexibility than a simple pipe (e.g., multiple concurrent client connections to one server process).

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES1514#UnixIPC