Hexillion
 

LookUp method

IPAddr = LookUp ( AddrString )

AddrString String A domain name or dotted address string
IPAddr Long The first IP address found by the DNS lookup

LookUp converts an IP address from string to numeric format.

If AddrString is a dotted numeric address such as "127.0.0.1", LookUp does the conversion using StringToAddr and returns immediately.

If AddrString is a domain name, LookUp uses the Connection object in the Connection property to do an A record lookup and returns the first IP address found. If the lookup fails, LookUp returns 0 and sets the Error property.

Show site map

contact us    privacy policy    legal information