4D Internet Commands v14

IT_GetProxy

Home

 
4D Internet Commands v14
IT_GetProxy

IT_GetProxy 


 

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

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.

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC Utilities
Number: 88899

 
HISTORY 

Modified: 4D Internet Commands 6.8.1

 
SEE ALSO 

IT_SetProxy

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)