[launchd-dev] The MachService key

Thomas Clement tclementdev at gmail.com
Tue Nov 22 08:30:49 PST 2011


On Nov 22, 2011, at 4:49 PM, Quinn The Eskimo! wrote:

>>> If it is, I can explain how you can use XPC to talk to a launchd daemon via the MachServices key.
>> 
>> Yes, please do.  That was going to be my next question.
> 
> The basic strategy is:
> 
> o In the server, create an XPC listening connection using xpc_connection_create_mach_service.

And pass the flag XPC_CONNECTION_MACH_SERVICE_LISTENER for the last argument.


Thomas



More information about the launchd-dev mailing list