2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 06:43:42 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.curl-multi-select" xmlns="http://docbook.org/ns/docbook">
|
2007-01-16 20:18:05 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>curl_multi_select</refname>
|
2009-08-03 15:11:58 +00:00
|
|
|
<refpurpose>Wait for activity on any curl_multi connection</refpurpose>
|
2007-01-16 20:18:05 +00:00
|
|
|
</refnamediv>
|
2007-01-17 00:14:52 +00:00
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2007-01-16 20:18:05 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>int</type><methodname>curl_multi_select</methodname>
|
|
|
|
<methodparam><type>resource</type><parameter>mh</parameter></methodparam>
|
2009-01-09 17:08:52 +00:00
|
|
|
<methodparam choice="opt"><type>float</type><parameter>timeout</parameter><initializer>1.0</initializer></methodparam>
|
2007-01-16 20:18:05 +00:00
|
|
|
</methodsynopsis>
|
2007-06-01 03:01:42 +00:00
|
|
|
<para>
|
2009-08-03 15:11:58 +00:00
|
|
|
Blocks until there is activity on any of the curl_multi connections.
|
2007-06-01 03:01:42 +00:00
|
|
|
</para>
|
2007-01-16 20:18:05 +00:00
|
|
|
|
|
|
|
</refsect1>
|
2007-01-17 00:14:52 +00:00
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
&curl.mh.description;
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>timeout</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2007-06-01 03:01:42 +00:00
|
|
|
Time, in seconds, to wait for a response.
|
2007-01-17 00:14:52 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-06-01 03:01:42 +00:00
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
2011-09-13 06:12:03 +00:00
|
|
|
On success, returns the number of descriptors contained in
|
2009-08-03 15:24:31 +00:00
|
|
|
the descriptor sets. On failure, this function will return -1 on a select failure or timeout (from the underlying select system call).
|
2007-06-01 03:01:42 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-01-17 00:14:52 +00:00
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<para>
|
|
|
|
<simplelist>
|
|
|
|
<member><function>curl_multi_init</function></member>
|
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2007-01-16 20:18:05 +00:00
|
|
|
</refentry>
|
2003-05-10 22:18:33 +00:00
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2003-05-10 22:18:33 +00:00
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|