Re: DO problem with NSConnection/NSSocketPortNameServer

2010-09-24 Thread Ken Tozier
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

Re: DO problem with NSConnection/NSSocketPortNameServer

2010-09-24 Thread Ken Thomases
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

DO problem with NSConnection/NSSocketPortNameServer

2010-09-23 Thread Ken Tozier
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