cvs: peardoc /en/package/networking/net-portscan checkport.xml checkportrange.xml
| From: | Martin Jansen | Date: | Wed, 25 Aug 2004 11:08:41 +0000 |
| Subject: | cvs: peardoc /en/package/networking/net-portscan checkport.xml checkportrange.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4782@lists.php.net to get a copy of this message | ||
mj Wed Aug 25 07:08:41 2004 EDT
Modified files:
/peardoc/en/package/networking/net-portscan checkport.xml
checkportrange.xml
Log:
* Added notice that the socket timeout may be influenced by the
configuration in php.ini.
Bug: #2209
http://cvs.php.net/diff.php/peardoc/en/package/networking/net-portscan/checkport.xml?r1=1.2&r2=1.3&ty=u
Index: peardoc/en/package/networking/net-portscan/checkport.xml
diff -u peardoc/en/package/networking/net-portscan/checkport.xml:1.2
peardoc/en/package/networking/net-portscan/checkport.xml:1.3
--- peardoc/en/package/networking/net-portscan/checkport.xml:1.2 Wed Jul 9 16:23:10 2003
+++ peardoc/en/package/networking/net-portscan/checkport.xml Wed Aug 25 07:08:41 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.networking.net-portscan.checkport">
<refnamediv>
<refname>Net_Portscan::checkPort()</refname>
@@ -45,6 +45,15 @@
<parameter>string $timeout</parameter> -
time in seconds to wait for response from host
</para>
+ <important>
+ <para>
+ If you run into timeout problems despite setting this parameter
+ to a reasonably high value, you need to make sure that the
+ configuration directive <literal>default_socket_timeout</literal>
+ in the <filename>php.ini</filename> configuration file does not
+ force the maximum timeout down to a lower value.
+ </para>
+ </important>
</listitem>
</itemizedlist>
</para>
http://cvs.php.net/diff.php/peardoc/en/package/networking/net-portscan/checkportrange.xml?r1=1.2&r2=1.3&ty=u
Index: peardoc/en/package/networking/net-portscan/checkportrange.xml
diff -u peardoc/en/package/networking/net-portscan/checkportrange.xml:1.2
peardoc/en/package/networking/net-portscan/checkportrange.xml:1.3
--- peardoc/en/package/networking/net-portscan/checkportrange.xml:1.2 Wed Jul 9 16:23:10 2003
+++ peardoc/en/package/networking/net-portscan/checkportrange.xml Wed Aug 25 07:08:41 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.networking.net-portscan.checkportrange">
<refnamediv>
<refname>Net_Portscan::checkPortRange()</refname>
@@ -53,6 +53,15 @@
<parameter>string $timeout</parameter> -
time in seconds to wait for every response from host
</para>
+ <important>
+ <para>
+ If you run into timeout problems despite setting this parameter
+ to a reasonably high value, you need to make sure that the
+ configuration directive <literal>default_socket_timeout</literal>
+ in the <filename>php.ini</filename> configuration file does not
+ force the maximum timeout down to a lower value.
+ </para>
+ </important>
</listitem>
</itemizedlist>
</para>