CURL
PHP Manual

curl_multi_select

(PHP 5)

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

说明

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

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 Manual