cvs: peardoc /en/package/networking/net-portscan checkport.xml checkportrange.xml getport.xml getservice.xml

From: Date: Wed, 09 Jul 2003 20:23:10 +0000
Subject: cvs: peardoc /en/package/networking/net-portscan checkport.xml checkportrange.xml getport.xml getservice.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-1046@lists.php.net to get a copy of this message
mj Wed Jul 9 16:23:10 2003 EDT Modified files: /peardoc/en/package/networking/net-portscan checkport.xml checkportrange.xml getport.xml getservice.xml Log: * Rephrasing a bit Index: peardoc/en/package/networking/net-portscan/checkport.xml diff -u peardoc/en/package/networking/net-portscan/checkport.xml:1.1.1.1 peardoc/en/package/networking/net-portscan/checkport.xml:1.2 --- peardoc/en/package/networking/net-portscan/checkport.xml:1.1.1.1 Mon Sep 30 23:23:48 2002 +++ peardoc/en/package/networking/net-portscan/checkport.xml Wed Jul 9 16:23:10 2003 @@ -1,8 +1,8 @@ -<!-- $Revision: 1.1.1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-portscan.checkport"> <refnamediv> <refname>Net_Portscan::checkPort()</refname> - <refpurpose>check for avaible service</refpurpose> + <refpurpose>check for available service</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -37,8 +37,7 @@ </listitem> <listitem> <para> - <parameter>string $port</parameter> - port to test - to check + <parameter>string $port</parameter> - port to check </para> </listitem> <listitem> Index: peardoc/en/package/networking/net-portscan/checkportrange.xml diff -u peardoc/en/package/networking/net-portscan/checkportrange.xml:1.1.1.1 peardoc/en/package/networking/net-portscan/checkportrange.xml:1.2 --- peardoc/en/package/networking/net-portscan/checkportrange.xml:1.1.1.1 Mon Sep 30 23:23:48 2002 +++ peardoc/en/package/networking/net-portscan/checkportrange.xml Wed Jul 9 16:23:10 2003 @@ -1,8 +1,8 @@ -<!-- $Revision: 1.1.1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-portscan.checkportrange"> <refnamediv> <refname>Net_Portscan::checkPortRange()</refname> - <refpurpose>check for avaible services</refpurpose> + <refpurpose>check for available services</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -38,13 +38,13 @@ </listitem> <listitem> <para> - <parameter>string $minPort</parameter> - starting port to test + <parameter>string $minPort</parameter> - lowest port to test to check </para> </listitem> <listitem> <para> - <parameter>string $maxPort</parameter> - last port to test + <parameter>string $maxPort</parameter> - highest port to test to check </para> </listitem> @@ -60,8 +60,8 @@ <refsect1 id="package.networking.net-portscan.checkportrange.return"> &title.returns; <para> - <parameter>array</parameter> - the array key corresponds with - the port number. + <parameter>array</parameter> - An associative array containing the + scanning results for each port. </para> </refsect1> <refsect1 id="package.networking.net-portscan.checkportrange.note"> @@ -80,9 +80,9 @@ foreach ($result as $port => $element) { if ($element == NET_PORTSCAN_SERVICE_FOUND) { - echo "On port " . $port . " there is running a service.\n"; + echo "A service has been found on port " . $port . ".\n"; } else { - echo "On port " . $port . " there is no service running.\n"; + echo "No service has been found on port " . $port . ".\n"; } } </programlisting> Index: peardoc/en/package/networking/net-portscan/getport.xml diff -u peardoc/en/package/networking/net-portscan/getport.xml:1.1.1.1 peardoc/en/package/networking/net-portscan/getport.xml:1.2 --- peardoc/en/package/networking/net-portscan/getport.xml:1.1.1.1 Mon Sep 30 23:23:49 2002 +++ peardoc/en/package/networking/net-portscan/getport.xml Wed Jul 9 16:23:10 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1.1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-portscan.getport"> <refnamediv> <refname>Net_Portscan::getPort()</refname> @@ -54,8 +54,9 @@ &title.note; &note.canstatic; <para> - The information is taken from your host, not from the remote host you - maybe checked with + The port number is retrieved from the machine where + <classname>Net_Portscan</classname> is executed, not from the + remote host, which you possibly used in <link linkend="package.networking.net-portscan.checkport"> <function>Net_Portscan::checkPort</function></link>. </para> Index: peardoc/en/package/networking/net-portscan/getservice.xml diff -u peardoc/en/package/networking/net-portscan/getservice.xml:1.1.1.1 peardoc/en/package/networking/net-portscan/getservice.xml:1.2 --- peardoc/en/package/networking/net-portscan/getservice.xml:1.1.1.1 Mon Sep 30 23:23:49 2002 +++ peardoc/en/package/networking/net-portscan/getservice.xml Wed Jul 9 16:23:10 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1.1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-portscan.getservice"> <refnamediv> <refname>Net_Portscan::getService()</refname> @@ -55,8 +55,9 @@ &title.note; &note.canstatic; <para> - The information is taken from your host, not from the remote host you - maybe checked with + The name of the service is retrieved from the machine where + <classname>Net_Portscan</classname> is executed, not from the + remote host, which you possibly used in <link linkend="package.networking.net-portscan.checkport"> <function>Net_Portscan::checkPort</function></link>. </para>

« previous php.pear.doc (#1046) next »