Back to product page

ProxyHostname property


Specifies the hostname of proxy to use.

Type

String

Syntax

  • Basic
object.ProxyHostname [= value]
The ProxyHostname(object) syntax has these parts:
objectAn expression evaluating to an object of type wodTelnetDLX

Remarks

When the wodTelnetDLX client is unable to establish a direct connection (not connected directly to the internet, for example), the proxy option can be used. There are several types of proxies supported by the wodTelnetDLX control. When any proxy is used, this property specifies the hostname for the remote proxy. Be careful, though. This property is not same as the Hostname property.

When a connection to a proxy is established, wodTelnetDLX will issue a request to the proxy to open a remote connection to the hostname specified by the ProxyHostname property. For example
 
wodTelnetDLX1.ProxyType = ProxySocks4
wodTelnetDLX1.ProxyHostname = "proxy.server.com"
wodTelnetDLX1.ProxyPort = 1080
wodTelnetDLX1.Connect "telnet.weonlydo.com"
 

would connect to WeOnlyDo's Telnet/SSH server, but through the proxy proxy.server.com.

Platforms

Windows