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

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

Net_Portscan::checkPort()

Net_Portscan::checkPort() -- check for available service

Beschreibung

This function checks if there is a service available at the specified port on the specified machine.

Parameter

  • string $host - address of the host to check

  • string $port - port to check

  • string $timeout - time in seconds to wait for response from host

    Wichtig: 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.

Rückgabewert

boolean - Gibt bei Erfolg TRUE zurück, bei einem Fehler FALSE.

Hinweise

Diese Methode kann statisch aufgerufen werden.

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

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.