The NSHost class provides methods to access the network name and address information for a host. Instances of the NSHost class represent individual hosts on a network. Use NSHost objects to get the current host�s name and address and to look up other hosts by name or by address.
http://devworld.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSHost_Class/Reference/Reference.html