mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
- Update docs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@80728 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
28c91a84a6
commit
09d018dbe5
1 changed files with 9 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue