cURL 函数
PHP 手册

curl_multi_select

(PHP 5)

curl_multi_selectGet all the sockets associated with the cURL extension, which can then be "selected"

说明

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

Get all the sockets associated with the cURL extension, which can then be "selected".

参数

mh

A cURL multi handle returned by curl_multi_init().

timeout

Time, in seconds, to wait for a response.

返回值

On success, returns the number of descriptors contained in, the descriptor sets. On failure, this function will return FALSE.

参见


cURL 函数
PHP 手册