curl_multi_remove_handle
curl_setopt_array
cURL Funkcje
PHP Manual

# curl_multi_select

(PHP 5)

curl_multi_select — Wait for activity on any curl_multi connection

### Opis

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

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

### Parametry

`mh`

  Wielokrotny uchwyt cURL zwrócony przez curl_multi_init().

`timeout`

  Time, in seconds, to wait for a response.

### Zwracane wartości

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

### Zobacz też:

- curl_multi_init() - Returns a new cURL multi handle

curl_multi_remove_handle
curl_setopt_array
cURL Funkcje
PHP Manual