in reply to Re: Unix domain sockets problem
in thread Unix domain sockets problem

Actually, the code in the Cookbook for the server does include accept, I just didn't want to clutter up the page with lots of code.

Anyway, changing to Peer on the client fixed it. I'm surprised it didn't throw an error on the original. This means the book is wrong as it's a straight copy of the code there.

BTW, any idea which would be faster ie local INET vs UNIX?