Net_Portscan::checkPortRange()

Net_Portscan::checkPortRange() -- check for avaible 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 - the array key corresponds with the port number.

Note

This function can be called statically

Example