AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YChart | YDAT | YWAIT | Byzgraf | FAQs
getHostName ([String address]) yoix.net
 
Returns the fully qualified name of address, which should be an IP address or name that can be resolved by DNS, or the local host if no argument is given. The result will be NULL if the host cannot be found.
 
 Example:   The program,
import yoix.net.*;
import yoix.stdio.*;

printf("%s\n", getHostName());
writes the fully qualified name of your local host on standard output.
 
 Return:   String
 
 See Also:   getAddress, getAllByName, getHostAddress, getInterfaceAddress, getInterfaceAddresses, isAnyLocalAddress, isLinkLocalAddress, isLoopbackAddress, isMCGlobal, isMCLinkLocal, isMCNodeLocal, isMCOrgLocal, isMCSiteLocal, isMulticastAddress, isReachable, isSiteLocalAddress

 

Yoix is a registered trademark of AT&T Inc.