Jan Gehring > Rex-0.43.2 > Rex::Commands::SimpleCheck

Download:
Rex-0.43.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  0
View/Report Bugs
Source   Latest Release: Rex-0.45.3

NAME ^

Rex::Commands::SimpleCheck - Simple tcp/alive checks

DESCRIPTION ^

With this module you can do simple tcp/alive checks.

SYNOPSIS ^

 if(is_port_open($remote_host, $port)) {
    print "Port $port is open\n";
 }

EXPORTED FUNCTIONS ^

is_port_open($ip, $port)

Check if something is listening on port $port of $ip.

syntax highlighting: