How to use Authenticator example to a remote machine?
How to use Authenticator example to a remote machine?
- Subject: How to use Authenticator example to a remote machine?
- From: "Arthur C." <email@hidden>
- Date: Thu, 24 Sep 2009 13:11:00 +0200
Hi,
I've been looking at the Authenticator example code as a starting point
for a (very simple) Cocoa client/server message-passing program.
Now in the 'client' section there is a line
// Lookup the server connection
NSConnection *conn = [NSConnection
connectionWithRegisteredName:CONNECTION_NAME host: nil];
However when I fill in @"127.0.0.1" or @"localhost" for 'host', it cannot
find the server (which is in fact running).
Why is this? Are my ports closed?
The example is for inter-application communication on one machine; I'd
like to have that between two machines...
Thanks for your time,
Arthur C.
_______________________________________________
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