:SetHostAddress


Class

     aprICMP()

 

Syntax

     :SetHostAddress( nAddress ) --> lSuccess

 

Parameters

 

nAddress

The IP address of the remote host as a Numeric value.

 

Return

Returns True if Successful, otherwise the return value is False.

To get extended error information, see :nErr or :cErr

 

Description

The SetHostAddress Method specifies the IP address of the host to receive an ICMP ECHO datagram. If the address specifies a new host, the current client statitics are reset.

 

Remarks

To specify a remote host name or an IP address as a string in dot notation, use the :SetHostName Method instead.

 

See Also

GetHostAddress, :GetHostName, :SetHostName