Back to product page

ProxyType property


Type of proxy used.

Type

A Long value

Syntax

  • Basic
object.ProxyType [= value]
The ProxyType(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodHttpDLX.
valueA ProxyTypes enumeration, as described in settings.

Remarks

The settings for value are:

Constant Value Description
ProxyNone0 No proxy is used.
ProxySocks4 1 Connection is made through SOCKS4 proxy firewall.
ProxySocks5 2 Connection is made through SOCKS5 proxy firewall.
ProxyWEBStandard3 Typical WEB proxy (using web CONNECT command) is used.
ProxyRelay 4 Simple relay.
ProxySocks4a 5 Connection is made through SOCKS4a proxy firewall.
ProxyWindows 6 Uses settings from the registry (same as Internet Explorer).


If the user needs to connect to a remote server through a proxy, this property should be set to a value other than ProxyNone. Depending on the type of remote proxy, the user should specify the correct protocol with this property.

The most common proxy type is ProxyWEBStandard. Socks 4/4a and Socks 5 are general proxy protocols, universal to any type of protocol. Relay is not a real proxy, but just a 'pipe' or 'redirector' that listens on a predefined port, and when a client connects to it, opens a predefined destination hostname and redirects all traffic between the client and the remote server. Relay proxy is very useful when testing other protocols.

ProxyWindows type is included in version 1.3.8. It uses same values as specified in Internet Explorer, under Tools->Internet Options->Connections->LAN Settings. wodHttpDLX will use anything specified for "HTTP" or "Secure" proxy addresses, or for "Socks" if these two aren't specified.

If your proxy server needs you to authenticate, you should setup ProxyLogin and ProxyPassword properties, as well as to choose authentication mode with ProxyAuthentication property.

Platforms

Windows