alindeman Thu Apr 25 18:32:01 2002 EDT
Modified files:
/phpdoc/en/reference/sockets/functions socket-connect.xml
Log:
fixing part of bug #16819
Index: phpdoc/en/reference/sockets/functions/socket-connect.xml
diff -u phpdoc/en/reference/sockets/functions/socket-connect.xml:1.2
phpdoc/en/reference/sockets/functions/socket-connect.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-connect.xml:1.2 Wed Apr 17
02:44:06 2002
+++ phpdoc/en/reference/sockets/functions/socket-connect.xml Thu Apr 25 18:32:01
+2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/sockets.xml, last change in rev 1.1 -->
<refentry id="function.socket-connect">
<refnamediv>
@@ -9,7 +9,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>int</type><methodname>socket_connect</methodname>
+ <type>bool</type><methodname>socket_connect</methodname>
<methodparam><type>resource</type><parameter>socket</parameter></methodparam>
<methodparam><type>string</type><parameter>address</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>port</parameter></methodparam>
@@ -35,9 +35,9 @@
should be made.
</para>
<para>
- Returns zero on success, or a negative error code on
- failure. This code may be passed to <function>socket_strerror</function>
- to get a textual explanation of the error.
+ &return.success; This code may be passed to
+ <function>socket_strerror</function> to get a textual explanation
+ of the error.
</para>
<para>
See also