NSConnection hostname
NSConnection hostname
- Subject: NSConnection hostname
- From: Drew Cunningham <email@hidden>
- Date: Tue, 19 Feb 2002 20:52:30 -0500
I've spent several days trying to figure out why my Distributed Object didn'
t work until I finally came upon the fact that the documentation is wrong
about using a wildcard as the hostname:
theConnection = [[NSConnection connectionWithRegisteredName:@"numberServer"
host:@"*"] retain];
The problem now is that I need to connect to a computer other than the
localHost, so I need a way to search for computers on the local network,
that have an IP address but no hostname.
Could someone tell me how I go about searching for a DO server on a network,
and then using its IP address (since there are no host names) to make an
NSConnection?
_______________________________________________
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.