Command IT_GetPort

4D Internet Commands

IT_GetPort

version 6.8.1 (Modified)


IT_GetPort (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_GetPort command will get the current port number being used by the 4D Internet Commands related to the protocol.

See Also

Appendix B, TCP Port Numbers, IT_SetPort.