This is one of the pages that turned up in my Google search. I think the TCP/IP client/server examples are handy for learning the AF_INET way of doing things, but I was hoping to see an example that uses AF_UNIX. (I searched the page for an example that uses AF_UNIX instead of AF_INET but couldn't find one...may you're seeing something I'm not?)
Originally Posted by chrism01
Incidentally, I wrote a system that runs 24/7 with co-operating processes and had probs making UNIX sockets robust/graceful enough in error handling, so used INET sockets instead and it works just fine. (Actually in Perl, but the principles are the same).
Coincidentally, I would like to pass messages between a php process and a perl process. What sorts of issues did you face with UNIX sockets that were solved by switching to INET sockets?