mfischer Wed May 1 07:15:40 2002 EDT
Modified files:
/phpdoc/en/reference/sockets/functions socket-connect.xml
Log:
- Update docs.
Index: phpdoc/en/reference/sockets/functions/socket-connect.xml
diff -u phpdoc/en/reference/sockets/functions/socket-connect.xml:1.3
phpdoc/en/reference/sockets/functions/socket-connect.xml:1.4
--- phpdoc/en/reference/sockets/functions/socket-connect.xml:1.3 Thu Apr 25
18:32:01 2002
+++ phpdoc/en/reference/sockets/functions/socket-connect.xml Wed May 1 07:15:40
+2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/sockets.xml, last change in rev 1.1 -->
<refentry id="function.socket-connect">
<refnamediv>
@@ -16,9 +16,9 @@
</methodsynopsis>
&warn.experimental.func;
<para>
- Initiates a connection using the socket descriptor
+ Initiates a connection using the socket resource
<parameter>socket</parameter>, which must be a valid socket
- descriptor created with <function>socket_create</function>.
+ resource created with <function>socket_create</function>.
</para>
<para>
The <parameter>address</parameter> parameter is either an IP
@@ -35,15 +35,17 @@
should be made.
</para>
<para>
- &return.success; This code may be passed to
- <function>socket_strerror</function> to get a textual explanation
- of the error.
+ &return.success; The error code can be retrieved with
+ <function>socket_last_error</function>. This code may be passed to
+ <function>socket_strerror</function> to get a textual explanation of the
+ error.
</para>
<para>
See also
<function>socket_bind</function>,
<function>socket_listen</function>,
- <function>socket_create</function>, and
+ <function>socket_create</function>,
+ <function>socket_last_error</function> and
<function>socket_strerror</function>.
</para>
</refsect1>