Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Notifications to C / C++ applications




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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden

References: 
 >Distributed Notifications to C / C++ applications (From: Rick Langschultz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.