curl_multi_select

Example

 int curl_multi_select ( resource $mh [, float $timeout = 1.0 ] ) 

Description

Blocks until there is activity on any of the curl_multi connections.

Return Values

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).