What are Unix Domain Sockets and How They Work
What are Unix Domain Sockets and How They Work When we think about communication between applications, we often imagine TCP or UDP over the network. But sometimes, processes don’t need to leave the machine at all. That’s where Unix Domain Sockets (UDS) come in. What is a Unix Domain Socket? A Unix Domain Socket is a special type of inter-process communication (IPC) mechanism in Unix-like systems. Instead of using IP addresses and ports, processes talk to each other via a file path on the filesystem (e.g., /var/run/docker.sock). ...