PHP Manual: curl_multi_select


Enter the keyword for better results

curl_multi_select

(PHP 5)

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

Description

int curl_multi_select ( resource mh [, float timeout] )

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

Parameters

mh

A cURL multi handle returned by curl_multi_init().

timeout

Time, in seconds, to wait for a response.

Return Values

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