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

Re: How to get vended object on app running on another host


  • Subject: Re: How to get vended object on app running on another host
  • From: Yann Bizeul <email@hidden>
  • Date: Sat, 10 Jul 2004 13:12:23 +0200

I'm experiencing the same problem, in fact, it seem you can't use
rootProxyForConnectionWithRegisteredName for distant connection, I used
the code posted by j o a r here (thanks to him):

http://cocoa.mamasam.com/COCOADEV/2002/08/1/41648.php

Le 10 juil. 04, ` 05:39, Rick Hoge a icrit :

> 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.
>
>
>
--
Yann Bizeul - yann at tynsoe.org
http://projects.tynsoe.org/
_______________________________________________
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.


References: 
 >How to get vended object on app running on another host (From: Rick Hoge <email@hidden>)

  • Prev by Date: Re: +[NSString length] selector not recognized - Fixed!!
  • Next by Date: 1 REALLY STUPID question Cocoa support for AppleScript
  • Previous by thread: How to get vended object on app running on another host
  • Next by thread: Questions About Frameworks
  • Index(es):
    • Date
    • Thread