Re: How to use Authenticator example to a remote machine?
Re: How to use Authenticator example to a remote machine?
- Subject: Re: How to use Authenticator example to a remote machine?
- From: Jens Alfke <email@hidden>
- Date: Thu, 24 Sep 2009 08:31:33 -0700
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@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:
This email sent to email@hidden