Back to product page

ProxyHostname property


Hostname of remote proxy.

Type

String

Syntax

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

Remarks

When the wodXMPP 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 wodXMPP control. When any proxy is used, this property specifies the hostname for the remote proxy.

When a connection to a proxy is established, wodXMPP will issue a request to the proxy to open a remote connection to the hostname specified by the ProxyHostname property. For example,
 
wodXMPP1.ProxyType = ProxyWEBStandard
wodXMPP1.ProxyHostname = "proxy.server.com"
wodXMPP1.ProxyPort = 80
wodXMPP1.Connect "wippien.com"
 

would connect to wippien.com server, but through the proxy proxy.server.com.

Platforms

Windows