wez Thu Sep 26 07:38:59 2002 EDT
Modified files:
/phpdoc/en/reference/network/functions socket-get-status.xml
Log:
socket_get_status is now an alias for file_get_meta_data.
Index: phpdoc/en/reference/network/functions/socket-get-status.xml
diff -u phpdoc/en/reference/network/functions/socket-get-status.xml:1.2
phpdoc/en/reference/network/functions/socket-get-status.xml:1.3
--- phpdoc/en/reference/network/functions/socket-get-status.xml:1.2 Wed Apr 17
02:42:05 2002
+++ phpdoc/en/reference/network/functions/socket-get-status.xml Thu Sep 26 07:38:58
+2002
@@ -1,53 +1,17 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/network.xml, last change in rev 1.24 -->
<refentry id="function.socket-get-status">
<refnamediv>
<refname>socket_get_status</refname>
<refpurpose>
- Returns information about an existing socket stream
+ Alias of <function>file_get_meta_data</function>.
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
- <methodsynopsis>
- <type>array</type><methodname>socket_get_status</methodname>
-
<methodparam><type>resource</type><parameter>socketstream</parameter></methodparam>
- </methodsynopsis>
<para>
- Returns information about an existing socket stream. This function only
- works on sockets created by <function>fsockopen</function>,
- <function>pfsockopen</function> or network sockets returned by
- <function>fopen</function> when opening URLs. It does NOT work
- with sockets from the <link linkend="ref.sockets">Socket extension</link>.
- 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: <link linkend="ref.sockets">Socket extension</link>.
+ This function is an alias of <function>file_get_meta_data</function>.
</para>
</refsect1>
</refentry>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php