22 Nov
2011
22 Nov
'11
4:30 p.m.
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