KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
According to Apple, the new XPC Services API, introduced in Lion, provides a lightweight mechanism for basic interprocess communication integrated with Grand Central Dispatch (GCD) and launchd. It seems possible to use this API as a kind of IPC, like the POSIX IPC, however, I cannot find how to do it. I am trying to communicate two processes using the XPC API so I can pass messages between them but I always get a "XPC connection invalid" error in the server side. I don't want an XPC Service, I just want to exchange messages using a client-server architecture. I am using two BSD-like processes, so there is no Info.plist or whatever... I have been following this discussion http://lists.macosforge.org/pipermail/launchd-dev/2011-November/000982.html but this topic seems a bit obscure and undocumented. Thanks!
Tags (comma-separated)
Save Edits
Cancel