vrana Fri Mar 23 15:19:48 2007 UTC
Modified files:
/phpdoc/en/reference/sockets/functions socket-connect.xml
Log:
Non blocking sockets returns false (bug #40725)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/functions/socket-connect.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/sockets/functions/socket-connect.xml
diff -u phpdoc/en/reference/sockets/functions/socket-connect.xml:1.6
phpdoc/en/reference/sockets/functions/socket-connect.xml:1.7
--- phpdoc/en/reference/sockets/functions/socket-connect.xml:1.6 Sun Feb
13 14:19:01 2005
+++ phpdoc/en/reference/sockets/functions/socket-connect.xml Fri Mar 23
15:19:48 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/sockets.xml, last change in rev 1.1 -->
<refentry id="function.socket-connect">
<refnamediv>
@@ -39,6 +39,12 @@
<function>socket_strerror</function> to get a textual explanation of the
error.
</para>
+ <note>
+ <para>
+ If the socket is non-blocking then this function returns &false; with an
+ error <literal>Operation now in progress</literal>.
+ </para>
+ </note>
<para>
See also
<function>socket_bind</function>,