Thanks Ken that worked
I wrapped up the solution in an NSConnection category in case others run into
this problem
@interface NSConnection (NetworkServiceAdditions)
+ (id) networkServiceConnectionWithName:(NSString *) inName
rootObject:(id) inRootObject;
@end
@implement
On Sep 24, 2010, at 1:35 AM, Ken Tozier wrote:
> However, when I try to use NSSocketPortNameServer instead of
> NSPortNameServer, I get server = nil
>
> server = [[NSConnection serviceConnectionWithName: @"PMXServer"
> rootObject: self
> usingNameServer: [NSSocketPor
Hi
I'm writing a client/server application and can't get a valid NSConnection when
I try to use NSSocketPortNameServer
This works, locally, but I need a connection that will work on the network
server = [[NSConnection serviceConnectionWithName: @"PMXServer"
rootObject: self