• 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 get vended object on app running on another host
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get vended object on app running on another host


  • Subject: How to get vended object on app running on another host
  • From: Rick Hoge <email@hidden>
  • Date: Fri, 9 Jul 2004 23:39:02 -0400

I'm experimenting with distributed objects and am having problems getting connections to work using the method rootProxyForConnectionWithRegisteredName:host:

I can get the following to work with host set to nil:

id theProxy = [[NSConnection rootProxyForConnectionWithRegisteredName:@"server" host:nil] retain];

However for this to be more generally useful, it would be good to be able specify an actual host name. The problem is that it will *only* run with a nil host. If I try

id theProxy = [[NSConnection rootProxyForConnectionWithRegisteredName:@"server" host:@"radix.local"] retain];

where radix.local is the local hostname (ssh or ping with with radix.local) I get a null return value. Anyone know what the trick is for this?

thanks!

Rick
_______________________________________________
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: How to get vended object on app running on another host
      • From: Yann Bizeul <email@hidden>
  • Prev by Date: WebView initialization
  • Next by Date: Questions About Frameworks
  • Previous by thread: Re: WebView initialization
  • Next by thread: Re: How to get vended object on app running on another host
  • Index(es):
    • Date
    • Thread