mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Moved socket_get_status() to network.xml.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32857 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3c6f9a47c9
commit
fa7686db3b
2 changed files with 56 additions and 56 deletions
|
@ -730,6 +730,62 @@ echo $out;
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.socket-get-status">
|
||||
<refnamediv>
|
||||
<refname>socket_get_status</refname>
|
||||
<refpurpose>
|
||||
Returns information about existing socket resource
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>array <function>socket_get_status</function></funcdef>
|
||||
<paramdef>resource
|
||||
<parameter>socket_get_status</parameter>
|
||||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns information about an existing socket resource. Currently
|
||||
returns four entries in the result array:
|
||||
</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>timed_out</parameter> (bool) - The socket timed out
|
||||
waiting for data
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>blocked</parameter> (bool) - The socket was blocked
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>eof</parameter> (bool) - Indicates EOF event
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>unread_bytes</parameter> (int) - Number of bytes
|
||||
left in the socket buffer
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<para>
|
||||
See also
|
||||
<function>accept_connect</function>,
|
||||
<function>bind</function>,
|
||||
<function>connect</function>,
|
||||
<function>listen</function>, and
|
||||
<function>strerror</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.set-socket-blocking">
|
||||
<refnamediv>
|
||||
<refname>socket_set_blocking</refname>
|
||||
|
|
|
@ -455,62 +455,6 @@ echo "OK.\n\n";
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.socket-get-status">
|
||||
<refnamediv>
|
||||
<refname>socket_get_status</refname>
|
||||
<refpurpose>
|
||||
Returns information about existing socket resource
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>array <function>socket_get_status</function></funcdef>
|
||||
<paramdef>resource
|
||||
<parameter>socket_get_status</parameter>
|
||||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns information about existing socket resource. Currently
|
||||
returns 4 entries in the result array:
|
||||
</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>timed_out</parameter> (bool) - The socket timed out
|
||||
waiting for data
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>blocked</parameter> (bool) - The socket was blocked
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>eof</parameter> (bool) - Indicates EOF event
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<parameter>unread_bytes</parameter> (int) - Number of bytes
|
||||
left in the socket buffer
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<para>
|
||||
See also
|
||||
<function>accept_connect</function>,
|
||||
<function>bind</function>,
|
||||
<function>connect</function>,
|
||||
<function>listen</function>, and
|
||||
<function>strerror</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.strerror">
|
||||
<refnamediv>
|
||||
<refname>strerror</refname>
|
||||
|
|
Loading…
Reference in a new issue