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

Download:
Rex-0.44.6.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  1
View/Report Bugs
Source   Latest Release: Rex-0.52.1

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: