Can anyone give an example of instances in which the AF_UNIX i.e unix domain sockets are used for process communication in a unix-based system
closed as not constructive by user40980, gnat, BЈовић, Kilian Foth, Jalayn Jun 3 '13 at 12:13
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
X windows uses unix sockets when you run application locally (on the same host as the X server) and tcp for remote application. MySQL programs also uses unix sockets to connect to a local server.
socketpair is great to communicate with a child process. With
SEQ_PACKET mode you need to do very little framework, just work on the meat.