This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19
IT_SetPort

IT_SetPort 


 

IT_SetPort ( protocol ; port ) -> Function result 
Parameter Type   Description
protocol  Integer in 1 = FTP ; 2 = SMTP ; 3 = POP3 ; 4 = IMAP ;
12 = SMTP TLS ; 13 = POP3 TLS ; 14 = IMAP TLS
port  Integer in Port Number
Function result  Integer in Error Code

Given a specified protocol, the IT_SetPort command will direct all future communication of the protocol to the specified port.



See also 

Appendix B, TCP Port Numbers
IT_GetPort

 
PROPERTIES 

Product: 4D
Theme: IC Utilities
Number: 88896

 
PAGE CONTENTS 
 
HISTORY 

Modified: 4D Internet Commands 6.8.1
Modified: 4D Internet Commands v12.1

 
ARTICLE USAGE

4D Internet Commands ( 4D v19)