1

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.

  • Why the downvotes - it is a reasonable question about a programming API that can be answered precisely. OK its very *nix specific, but, considering at least half of all the servers in the world are running some variation of unix it does not seem too specific. – James Anderson Jun 2 '13 at 5:01
2

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.

0

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.