On Sep 20, 2010, at 4:14 AM, Ken Tozier wrote: > server: (** NSConnection 0x114720 receivePort <NSMachPort: 0x114850> sendPort > <NSMachPort: 0x114850> refCount 1 **)
> Ultimately, the client and server will need to work on different machines on > a network, thus the call to [NSSocketPortNameServer sharedInstance] > > Anyone see what I'm doing wrong? You are using a name server appropriate for socket ports but your connection is set up using Mach ports. Those two don't interoperate. You might be able to use +serviceConnectionWithName:rootObject:usingNameServer:. You can definitely use +connectionWithReceivePort:sendPort: with socket ports. It's probably easier to start with using Mach ports on a single machine and then switch to socket ports after you've got everything working. Regards, Ken _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com