On 3 Mar 2015, at 22:48, Arjun SM <arjun.sm@gmail.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com