static public method CO2GTransport::setProxy

Brief

Configures the proxy server settings.

Declaration
C++
static void  setProxy (const char *proxyHost, int iPort, const char *user, const char *password)

Parameters
proxyHost

The host name or IP address of the proxy.

iPort

The proxy port.

user

If the proxy requires authorization, specify the user name in this parameter. If the proxy does not require authorization, please specify 0 (null-pointer) in this parameter.

password

If the proxy requires authorization, specify the password in this parameter. If the proxy does not require authorization, please specify 0 (null-pointer) in this parameter.

Details

The specified proxy settings affect all connections which will be established after this method is called. These parameters will be used during the next call of the IO2GSession.login method.

Declared in CO2GTransport

back