The features that follow apply only on Unix operating systems.
Boost.Asio provides basic support for local sockets (also known as Unix domain sockets).
A local socket is a socket that can only be accessed from the applications that run on the host machine. You can use local sockets for easy inter-process communication. You can connect both as a client socket or as a server socket. For local sockets, the endpoint is a filename, such as
/tmp/whatever. One cool thing is that you can assign rights to that given file, and therefore, disallow certain users on your machine from creating a socket to the file.
You can connect as a client socket, as given in the following code snippet: