JavaScript Editor Javascript validator     Web page editor 



Net_Portscan::checkPortRange()

Net_Portscan::checkPortRange() -- check for available services

Synopsis

require_once 'Net/Portscan.php';

array Net_Portscan::checkPortRange (string $host, integer $minPort, integer $maxPort [, integer $timeout = 30])

Description

This function checks if there are services available at the specified ports on the specified machine.

Parameter

Return value

array - An associative array containing the scanning results for each port.

Note

This function can be called statically.

Example




JavaScript Editor Javascript validator     Web page editor