Alertra Script Language 1.9
tcp
Makes a quick TCP connection to the given port. Other protocol commands will use this same port. This command must be called before other protocol commands. There are several predefined constants for common ports: HTTP_PORT, HTTPS_PORT, FTP_PORT, SMTP_PORT, POP3_PORT, TELNET_PORT, SSH_PORT, IMAP4_PORT.
socket connection. Available options are:
- noconnect Don't actually connect to the socket, just set the port required for other protocol commands.
- ssl Use secure connection (SSL)
usage: tcp [port] [options]
parameters:
req | name | type | description |
---|---|---|---|
Y | port | expression | The port to connect to. |
N | list | options Comma separated list of options for the |
examples
tcp $HTTP_PORT
Makes a connection to port 80 on the computer identified by the last dns command.
Alertra Script Language: Language Reference