Distributed Object problems
Distributed Object problems
- Subject: Distributed Object problems
- From: Amilcar Meneses Viveros <email@hidden>
- Date: Thu, 8 Jan 2004 15:21:23 -0600 (CST)
I have problems when I try to conect with a distributed object.
The apple manual say that
id theProxy;
theProxy = [[NSConnection
rootProxyForConnectionWithRegisteredName:@"server"
host:nil] retain];
[theProxy setProtocolForProxy:@protocol(ServerProtocol)];
The problem is when tou change host: nil for a host name, some like this:
theProxy = [[NSConnection
rootProxyForConnectionWithRegisteredName:@"server"
host:@"darwin11.cs.cinvestav.mx"] retain];
In anothe hand, I try with this too
theProxy = [[NSConnection
rootProxyForConnectionWithRegisteredName:@"server"
host:[[NSHost current] name] retain];
but the connection don't work.
Somebody can help me?
Thanks!
Amilcar
_______________________________________________
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.