Re: How to get vended object on app running on another host
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.