IT_GetProxy

4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next

version 6.8.1 (Modified)


IT_GetProxy (protocol; proxyKind; proxyHostName; proxyPort; proxyUserID) Integer

ParameterTypeDescription
protocolInteger1 = FTP; 2 = SMTP; 3 = POP3; 4 = IMAP
proxyKindInteger0 = None; 1 = SOCKS
proxyHostNameStringHost name or IP address of the SOCKS Proxy host
proxyPortIntegerProxy port to connect to
proxyUserIDTextUserID for SOCKS
Function resultIntegerError Code

Description

Given a specified protocol, the IT_GetProxy command returns the current settings being used by the 4D Internet Commands related to the routage of the specified protocol. The values will be at their default state unless a prior call to IT_SetProxy altered the settings. For a complete description of the parameters, see IT_SetProxy.

protocol is an integer value that specifies the protocol to examine. A value of 1 will indicate FTP protocol. A value of 2 will indicate SMTP protocol. A value of 3 will indicate POP3 protocol. A value of 4 will indicate IMAP protocol.

proxyKind returns the current settings determining if a SOCKS proxy host is used. A value of 1 routes all requests for the specified protocol through the specified SOCKS Host. A value of zero does not route requests for the specified protocol through any SOCKS Host.

proxyHostName returns the current settings determining the Host Name or IP address of the SOCKS Proxy host in use.

proxyPort returns the current settings determining the port number used for the specified protocol to communicate with the SOCKS Proxy host.

proxyUserID returns the current settings determining the user ID.

See Also

IT_SetProxy.


4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next