The Unix stream socket connection follows the same set of calls as that of a stream connection as used for a internet protocol (AF_INET) stream socket connection. The connection process is provided below
The structures that are used in an Unix domain stream socket differ from the internet protocol (AF_INET) stream socket connection. Also, in the case of an Unix domain socket, a socket path is provided which is used as a connection point for the server and the client. This differs from an internet protocol socket connection which uses an IP address and port to form a connection.
The next article provides an example of a Unix stream socket example
Pingback: Socket based IPC – Unix Domain Sockets | Hitch Hiker's Guide to Learning
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.
Thanks for the input
Thanks and regards
Vivek