4D Internet Commands v16

IT_GetProxy

Home

 
4D Internet Commands v16
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.



See also 

IT_SetProxy

 
PROPERTIES 

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

 
HISTORY 

Modified: 4D Internet Commands 6.8.1

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)