Resolves a host name to a host IP address.
Syntax
object.Resolve( HostName, IpAddress )
Parameters
- HostName
- A string value that specifies the host name to resolve.
- IpAddress
- A string that will contain the IP address for the specified host
name when the method returns. This parameter must be passed by
reference.
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
ClientAddress
Property, ClientHost
Property, ServerAddress
Property, ServerName
Property
|