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