PHP curl_multi_select function
(PHP 5)
curl_multi_select — Wait for activity on any curl_multi connection
Description
int curl_multi_select ( resource $mh [, float $timeout = 1.0 ] )
Blocks until there is activity on the cURL multi connection.
Parameters
mh
A cURL multi handle returned by curl_multi_init().
timeout
Time to wait for a response, in seconds.
Return Values
On success, returns the number of descriptors in the descriptor set. On failure, returns -1 if the select failed, otherwise returns the timeout (from the underlying select system call).
Other Extensions
PHP cURL Reference Manual