RemoteHost

This property returns and sets the name or Internet Protocol (IP) address of the remote device to which a control sends or receives data.

Syntax

object.RemoteHost [= string]

Parameters

object
Object expression that evaluates to a Winsock control.
string
Name or address of the remote device. This can either be a host name, such as “ftp.microsoft.com”, or an IP address string in dotted format, such as “100.0.1.1”.

Remarks

At run time, changing this property has no effect until the next connection.