[launchd-dev] Setting up an AF_UNIX based launchd server

Quinn "The Eskimo!" eskimo1 at apple.com
Mon Jul 25 06:31:36 PDT 2011


On 25 Jul 2011, at 12:04, mailist at ericgorr.net wrote:

>    result  = connect( socketFD, (struct sockaddr *)&socketFD, sizeof( socketFD ) );

There's a straightforward programming error in this line.  The last two references to "socketFD" should be replaced by references to "addr".

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