Alertra Script Language 1.9


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]


req name type description
Y port expression The port to connect to.
N list options Comma separated list of options for the



Makes a connection to port 80 on the computer identified by the last dns command.

Alertra Script Language: Language Reference