Does NSDistantObject works over network ?
Does NSDistantObject works over network ?
- Subject: Does NSDistantObject works over network ?
- From: "john chen" <email@hidden>
- Date: Tue, 5 Feb 2008 12:31:31 -0600
Hi all,
Does anyone know if the sample code in the link
http://cocoadevcentral.com/articles/000062.php will work over a network? I
tried to use the code, but when I put the serverName = @"localhost", or
using ip address for the serverName like serverName = @"192.168.1.100", the
m_server will become nil.
In my test, it only works when I put the serverName = nil in the line
m_server = [NSConnection
rootProxyForConnectionWithRegisteredName:@"svr"
host:serverName];
I was wondering if NSDistributeObject can work over netowrk? Do we have to
use NSSocketPort ?
Any input is appreciated,
John
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden