in reply to How to shut down UNIX sockets?

You are getting the error because the socket file exists when you restart the server. You can unlink it in the server after shutting down the socket. You might also unlink it before setting up the socket, in case any previous process left it behind.

Replies are listed 'Best First'.
Re^2: How to shut down UNIX sockets?
by bv (Friar) on Sep 01, 2009 at 20:30 UTC

    Thanks for the response. So the module doesn't provide any method to unlink the socket file automatically? Bummer.

    print pack("A25",pack("V*",map{1919242272+$_}(34481450,-49737472,6228,0,-285028276,6979,-1380265972)))

      I don't see any method for automatically unlinking the socket file. This is consistent with the underlying system calls.