NSConnection question
NSConnection question
- Subject: NSConnection question
- From: Eivind Andersen <email@hidden>
- Date: Wed, 8 Oct 2003 00:49:45 +0200
Hi,
I am new to both macs and cocoa, and currently working on an instant
messaging application.
I would really like the client to communicate with the server using PDO
(Portable Distributed Object), and understand that I can use
NSConnection to do this.
I have made a really simple server that I can connect to (on the same
computer) using:
myServer = [NSConnection
rootProxyForConnectionWithRegisteredName:@"Server"
host:nil];
Can someone explain to me why this doesn4t work:
myServerAddress = @"localhost";
myServer = [NSConnection
rootProxyForConnectionWithRegisteredName:@"Server"
host:myServerAddress];
I would be grateful to all help!
Best regards,
Eivind Andersen
_______________________________________________
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.