• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to use Authenticator example to a remote machine?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to use Authenticator example to a remote machine?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Exit screen saver programmatically?
  • Next by Date: login items hide box
  • Previous by thread: Hide keyboard in iPhone application
  • Next by thread: Re: How to use Authenticator example to a remote machine?
  • Index(es):
    • Date
    • Thread