On Sep 24, 2009, at 4:11 AM, Arthur C. wrote:

The example is for inter-application communication on one machine; I'd
like to have that between two machines...

NSConnection is part of Distributed Objects. It's possible to run DO between two machines across a TCP connection, but it takes a bit more work and you have to initialize the connection differently. I believe Apple has sample code showing how to do it.

I'm not a fan of using DO for this. IMHO, there are a number of subtle issues with it that aren't immediately apparent but will bite you if you try to develop a real app using it; the nastiest being the potential security problems. I wrote a blog post about this a few months ago:
        
http://jens.mooseyard.com/2009/07/the-subtle-dangers-of-distributed-objects/

See my previous cocoa-dev post from a few minutes ago, for a blatant ad for my own open-source framework that implements easy distributed messaging in a way that is somewhat lower level but I think a lot more robust. :)

—Jens_______________________________________________

Cocoa-dev mailing list ([email protected])

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