Alertra Script Language 1.9

[ next ] [ language reference ] [ table of contents ]


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:

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