Net_Portscan::getPort()

Net_Portscan::getPort() -- port number of a service

Synopsis

require_once 'Net/Portscan.php';

integer Net_Portscan::getPort (string $service [, string $protocol = 'tcp'])

Описание

This function returns the port which corresponds to service for the specified protocol as per /etc/services.

Параметр

Возвращаемое значение

integer - port number of the service

Заметка

Эта функция может быть вызвана статически.

The port number is retrieved from the machine where Net_Portscan is executed, not from the remote host, which you possibly used in Net_Portscan::checkPort().


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ