ST_ProxySettings

Overview

Type:

Structure

Available as of:

V1.0.0.0

Inherits from:

-

Description

This structure provides the parameters for the proxy settings.

Structure Elements

Name

Data type

Default value

Description

xUseProxy

BOOL

FALSE

Set this to TRUE if the connection is established through a proxy server. If this parameter is TRUE and the integrated proxy server is used (ifProxyHandler = 0), the address of the proxy server (sProxyServerAddr) is required.

sProxyServerAddr

STRING[255]

Address of the proxy server. Can be given as IPv4 address or hostname. If the proxy server is used and the address is specified as hostname, an attempt is made to resolve the hostname from the DNS server.

Only required if the integrated proxy handler is used (ifProxyHandler = 0).

uiProxyServerPort

UINT

80

TCP port of the proxy server.

Only required if the integrated proxy handler is used (ifProxyHandler = 0).

ifProxyHandler

PXCS.IF_ProxyHandler

Interface to the proxy handler in your application. If this parameter is set to 0 and xUseProxy is TRUE, the internal instance of the PXCS.FB_ProxyHandlerHttpConnect is used to establish a connection to the remote server.