<?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> <refentry xml:id="function.curl-multi-select" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>curl_multi_select</refname> <refpurpose>Wait for activity on any curl_multi connection</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>curl_multi_select</methodname> <methodparam><type>resource</type><parameter>mh</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>timeout</parameter><initializer>1.0</initializer></methodparam> </methodsynopsis> <para> Blocks until there is activity on any of the curl_multi connections. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> &curl.mh.description; <varlistentry> <term><parameter>timeout</parameter></term> <listitem> <para> Time, in seconds, to wait for a response. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> On success, returns the number of descriptors contained in, the descriptor sets. On failure, this function will return -1 on a select failure or timeout (from the underlying select system call). </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>curl_multi_init</function></member> </simplelist> </para> </refsect1> </refentry> <!-- 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 sgml-default-dtd-file:"~/.phpdoc/manual.ced" 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 -->