Command IT_SetPort

4D Internet Commands

IT_SetPort

version 6.8.1 (Modified)


IT_SetPort (protocol; port) Integer

ParameterTypeDescription
protocolInteger1 = FTP; 2 = SMTP; 3 = POP3; 4 = IMAP
portIntegerPort Number

Function result Integer Error Code

Description

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.