[launchd-dev] UNIX SOCKET problem

Quinn "The Eskimo!" eskimo1 at apple.com
Thu Sep 29 04:42:22 PDT 2011


On 28 Sep 2011, at 08:55, Gian Luca Gaiba wrote:

> this is not a "real" problem but I'd like to understand why this thing happen...

IIRC deleting the sock at the path before binding its replacement to that path is accepted standard practice.  That's what I do in CFLocalServer and, dusting off my copy of "UNIX Network Programming", that's what the code in there does as well.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware




More information about the launchd-dev mailing list