On 29 Mar '08, at 6:51 PM, Rick Langschultz wrote:
I am looking to create an application written in C / C++ that will send notifications to a Cocoa application and the Cocoa application will communicate back. Since I am using multiple server environments will / is this possible? Or should I just stick with Cocoa shell tools to accomplish this?
Mach ports are probably the best way to do this. The "Advanced Mac OS X Programming" book covers them, including how to use them from Cocoa APIs.
(I did this using Unix domain sockets, for PubSub, which initially seemed simpler but got fairly complex due to security issues. The socket actually exists in the filesystem, and you have to be very careful about where to put it, to avoid allowing unauthorized processes to access it.)
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]