Net_Portscan::checkPortRange() (Previous) (Next) Net_Portscan::getService()

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Net_Portscan::getPort()

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

Beschreibung

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

Parameter

  • string $service - name of the service to check

  • string $protocol - access protocol

Rückgabewert

integer - port number of the service

Hinweise

Diese Methode kann statisch aufgerufen werden.

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().

Net_Portscan::checkPortRange() (Previous) (Next) Net_Portscan::getService()

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.