mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
true/false literalized.
socket parameters are resources removed one extra dot in See also list. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50660 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
978dc41f4f
commit
3a14a9c184
1 changed files with 10 additions and 10 deletions
|
@ -166,7 +166,7 @@ echo "OK.\n\n";
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>accept_connect</function></funcdef>
|
||||
<paramdef>int <parameter>socket</parameter></paramdef>
|
||||
<paramdef>resource <parameter>socket</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
@ -220,7 +220,7 @@ echo "OK.\n\n";
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>bind</function></funcdef>
|
||||
<paramdef>int <parameter>socket</parameter></paramdef>
|
||||
<paramdef>resource <parameter>socket</parameter></paramdef>
|
||||
<paramdef>string <parameter>address</parameter></paramdef>
|
||||
<paramdef>int
|
||||
<parameter><optional>port</optional></parameter>
|
||||
|
@ -274,7 +274,7 @@ echo "OK.\n\n";
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>bool <function>close</function></funcdef>
|
||||
<paramdef>int <parameter>socket</parameter></paramdef>
|
||||
<paramdef>resource <parameter>socket</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
@ -290,8 +290,8 @@ echo "OK.\n\n";
|
|||
<function>accept_connect</function>.
|
||||
</para>
|
||||
<para>
|
||||
Returns true on success, or false if an error occurs (i.e.,
|
||||
<parameter>socket</parameter> is invalid).
|
||||
Returns <literal>TRUE</literal> on success, or <literal>FALSE</literal>
|
||||
if an error occurs (i.e., <parameter>socket</parameter> is invalid).
|
||||
</para>
|
||||
<para>
|
||||
See also <function>bind</function>, <function>listen</function>,
|
||||
|
@ -312,7 +312,7 @@ echo "OK.\n\n";
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>connect</function></funcdef>
|
||||
<paramdef>int <parameter>socket</parameter></paramdef>
|
||||
<paramdef>resource <parameter>socket</parameter></paramdef>
|
||||
<paramdef>string <parameter>address</parameter></paramdef>
|
||||
<paramdef>int
|
||||
<parameter><optional>port</optional></parameter>
|
||||
|
@ -364,7 +364,7 @@ echo "OK.\n\n";
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>listen</function></funcdef>
|
||||
<paramdef>int <parameter>socket</parameter></paramdef>
|
||||
<paramdef>resource <parameter>socket</parameter></paramdef>
|
||||
<paramdef>int <parameter>backlog</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
|
@ -408,7 +408,7 @@ echo "OK.\n\n";
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>read</function></funcdef>
|
||||
<paramdef>int <parameter>socket_des</parameter></paramdef>
|
||||
<paramdef>resource <parameter>socket_des</parameter></paramdef>
|
||||
<paramdef>string <parameter>buffer</parameter></paramdef>
|
||||
<paramdef>int <parameter>length</parameter></paramdef>
|
||||
<paramdef>int <parameter><optional>type</optional></parameter></paramdef>
|
||||
|
@ -444,7 +444,7 @@ echo "OK.\n\n";
|
|||
<function>connect</function>,
|
||||
<function>listen</function>,
|
||||
<function>strerror</function>,
|
||||
<function>socket_get_status</function>. and
|
||||
<function>socket_get_status</function> and
|
||||
<function>write</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -576,7 +576,7 @@ if (($ret = bind ($socket, '127.0.0.1', 80)) < 0) {
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>write</function></funcdef>
|
||||
<paramdef>int <parameter>socket_des</parameter></paramdef>
|
||||
<paramdef>resource <parameter>socket_des</parameter></paramdef>
|
||||
<paramdef>string <parameter>&buffer</parameter></paramdef>
|
||||
<paramdef>int <parameter>length</parameter></paramdef>
|
||||
</funcprototype>
|
||||
|
|
Loading…
Reference in a new issue