On 14 Jun '08, at 12:52 PM, dream cat7 wrote:

was also wondering if anyone ever think to encrypt their NSNotification data?

If you start getting to that point, you should think about using a real IPC mechanism instead. NSDistributedNotifications are very easy to use, but they're intended as one-to-many notifications, not for two specific processes to communicate. I mean, they work for that, but they're very limited in what you can send, and as you point out, there's no privacy.

You can send point-to-point messages between two processes using direct messages between Mach ports. I believe the huge "daemons and agents" technote has pointers on doing this, and there are also some sample apps demonstrating Mach messaging.

—Jens

Attachment: 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]

Reply via email to