svn: /phpdoc/en/trunk/reference/network/functions/ fsockopen.xml
| From: | Gustavo André dos Santos Lopes | Date: | Thu, 22 Dec 2011 11:55:42 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/network/functions/ fsockopen.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9270@lists.php.net to get a copy of this message | ||
cataphract Thu, 22 Dec 2011 11:55:42 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=321326
Log:
- Add reference to stream_socket_client() to fockopen() documentation.
Changed paths:
U phpdoc/en/trunk/reference/network/functions/fsockopen.xml
Modified: phpdoc/en/trunk/reference/network/functions/fsockopen.xml
===================================================================
--- phpdoc/en/trunk/reference/network/functions/fsockopen.xml 2011-12-22 11:32:41 UTC (rev 321325)
+++ phpdoc/en/trunk/reference/network/functions/fsockopen.xml 2011-12-22 11:55:42 UTC (rev 321326)
@@ -30,6 +30,11 @@
switch it to non-blocking mode by using
<function>stream_set_blocking</function>.
</para>
+ <para>
+ The function <function>stream_socket_client</function> is similar but
+ provides a richer set of options, including non-blocking connection and the
+ ability to provide a stream context.
+ </para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@@ -221,6 +226,7 @@
<para>
<simplelist>
<member><function>pfsockopen</function></member>
+ <member><function>stream_socket_client</function></member>
<member><function>stream_set_blocking</function></member>
<member><function>stream_set_timeout</function></member>
<member><function>fgets</function></member>
@@ -228,6 +234,7 @@
<member><function>fwrite</function></member>
<member><function>fclose</function></member>
<member><function>feof</function></member>
+ <member><function>socket_connect</function></member>
<member>The <link linkend="ref.curl">Curl
extension</link></member>
</simplelist>
</para>