Net_Portscan::checkPortRange()
Описание
This function checks if there are services available at the specified ports on the specified machine.
Параметр
string $host - address of the host to check
string $minPort - lowest port to test to check
string $maxPort - highest port to test to check
string $timeout - time in seconds to wait for every response from host
Важно: If you run into timeout problems despite setting this parameter to a reasonably high value, you need to make sure that the configuration directive default_socket_timeout in the php.ini configuration file does not force the maximum timeout down to a lower value.
Пример
Пример 50-1. Using checkPortRange
|
Пред. | Начало | След. |
Net_Portscan::checkPort() | Уровень выше | Net_Portscan::getPort() |