Finds information about a network host
This class is used to look up the IP addresses and names of an Internet host. It contains the following members: name - the string which was supplied as the "host" parameter to the constructor; addresses - an array of strings giving the IP addresses of the host in textual form; types - an array of numbers specifying the address type of each address in the addresses array (either Network.AF_IPV4 or Network.AF_IPV6); reversenames - an array which, if the reverse parameter of the constructor was true, contains the name which each IP in the addresses array reverse resolves to (if the resolve fails, they contain the IP string). You must supply the constructor with the name or IP address (in textual form) of the host to look for, as well as the address family (Network.AF_IPV4, Network.AF_IPV6, or Network.AF_AUTO) you are interested in.
|