version 6.8.1 (Modified)
IT_GetProxy (protocol; proxyKind; proxyHostName; proxyPort; proxyUserID) Integer
Parameter | Type | Description | |
protocol | Integer | 1 = FTP; 2 = SMTP; 3 = POP3; 4 = IMAP | |
proxyKind | Integer | 0 = None; 1 = SOCKS | |
proxyHostName | String | Host name or IP address of the SOCKS Proxy host | |
proxyPort | Integer | Proxy port to connect to | |
proxyUserID | Text | UserID for SOCKS | |
Function result | Integer | Error 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