Resolve Method

Resolves a host name to a host IP address.

Syntax

object.Resolve( HostName, IpAddress )

Remarks

The Resolve method is used to convert a host name into an IP address.

The HostName argument specifies the name to resolve.

The IpAddress argument is a variable that will contain the IP address for the specified host name when the method returns. The address will be a string in dotted notation.

Return Value

A value of zero is returned if the host name could be resolved into an IP address. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

See Also

AutoResolve Property, HostAddress Property, HostFile Property, HostName Property


Copyright © 2008 Catalyst Development Corporation. All rights reserved.