• 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
NSConnection question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSConnection question


  • Subject: NSConnection question
  • From: Eivind Andersen <email@hidden>
  • Date: Wed, 8 Oct 2003 00:49:45 +0200

Hi,

I am new to both macs and cocoa, and currently working on an instant
messaging application.

I would really like the client to communicate with the server using PDO
(Portable Distributed Object), and understand that I can use
NSConnection to do this.

I have made a really simple server that I can connect to (on the same
computer) using:

myServer = [NSConnection
rootProxyForConnectionWithRegisteredName:@"Server"
host:nil];

Can someone explain to me why this doesn4t work:

myServerAddress = @"localhost";
myServer = [NSConnection
rootProxyForConnectionWithRegisteredName:@"Server"
host:myServerAddress];

I would be grateful to all help!

Best regards,

Eivind Andersen
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSConnection question
      • From: Wade Tregaskis <email@hidden>
  • Prev by Date: Re: OpenGL in a big window
  • Next by Date: Re: Storing preferenses
  • Previous by thread: Re: help : cocoa
  • Next by thread: Re: NSConnection question
  • Index(es):
    • Date
    • Thread