Re: Using XPC for Interprocess Communication
Re: Using XPC for Interprocess Communication
- Subject: Re: Using XPC for Interprocess Communication
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 04 Mar 2015 10:25:08 -0800
On 3 Mar 2015, at 22:48, Arjun SM <email@hidden> wrote:
> My Question is Can we use XPC API's independently of XPC Services not as a helper tool ?
Yes. It's perfectly valid to create a launchd daemon or agent that vends an XPC service via the MachServices property of its launchd property list file.
> Can I use XPC in this manner where in multiple independent process connects to my server and get serviced ?
Yes. If you vend your service from a launchd agent, it'll only be available to clients in a particular login context. If you make it a launchd daemon, it'll be available to all clients (subject to sandboxing restrictions). In the latter case the clients will have to set XPC_CONNECTION_MACH_SERVICE_PRIVILEGED.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden