DO and connecting to hostNames
DO and connecting to hostNames
- Subject: DO and connecting to hostNames
- From: Drew Cunningham <email@hidden>
- Date: Mon, 22 Apr 2002 19:54:41 -0400
I need to share objects over a network, or even the internet. In the
documentation for NSConnection, it says hostName is an Internet domain
name (for example, "sales.anycorp.com"). How do I go about finding out
what the domain name for a computer is? I would prefer to use IP
addresses make connections to distributed objects but this doesn't
appear to be an option. I want the program to grab an arbitrary port
number, so that I don't have to statically define which port number to
grab (i.e., [[NSSocketPort alloc] init] ). Thanks in advance for any
help / sample code.
_______________________________________________
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.