[comp.sys.mips] UNIX domain sockets work after all

bin@primate.wisc.edu (Brain in Neutral) (07/25/89)

It appears I have the dubious honor of being the first one to post
an idiot's question to this newsgroup.  In our last episode, my UNIX
domain sockets weren't working: clients would get "Socket is not connected".

One of the guys at MIPS sent a message that, while not solving the problem
directly, gave me the clue I needed (thanks, MIPS), and of course the answer
is completely obvious and I was being completely stupid:  a simple
permission problem.  The server was setuid-root, the client wasn't, and
didn't have sufficient permission to write to the socket.  Ah well.  A
umask(0) in the server before creating the socket worked wonders.

So UNIX domain sockets work after all, and I am happy.

Paul DuBois
dubois@primate.wisc.edu