Daemon Communication
Daemon Communication
- Subject: Daemon Communication
- From: Paolo Ambrosio <email@hidden>
- Date: Thu, 24 Jun 2010 14:37:07 +0200
Hello,
I am in the process of starting the development of a daemon that
should interact with local CLI and GUI clients (for service control
and data query). It should be similar to what Spotlight does, with the
daemon running at system startup, a command line client as "mdfind", a
menubar item, etc.
In the "Daemons and Agents" Technical Note TN2083 [1], "Apple
recommends that you use UNIX domain sockets for client/daemon
communication". Does Spotlight use this method?
Being new to the Darwin/Apple world, I have another question also. In
the Daemon-Safe Frameworks Table i read that Carbon and Cocoa are not
available for use in daemon code, and it makes sense. Does it mean
that I won't be able to vend an object using Distributed Objects
(without an agent wrapping Cocoa messages to the Unix Socket)?
Can you point me in the right direction?
I hope I was not too off topic for this list. If I was, please tell me
where those questions are appropriate.
Thanks,
Paolo
1: http://developer.apple.com/mac/library/technotes/tn2005/tn2083.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden