update : 2015.11.03
php.shukuma.com

검색:
 
 
Wait for activity on any curl_multi connection

curl_multi_select

(PHP 5, PHP 7)

curl_multi_selectWait for activity on any curl_multi connection

설명

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

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

인수

mh

curl_multi_init()가 반환한 curl 다중 핸들입니다.

timeout

Time, in seconds, to wait for a response.

반환값

On success, returns the number of descriptors contained in the descriptor sets. This may be 0 if there was no activity on any of the descriptors. On failure, this function will return -1 on a select failure (from the underlying select system call).

참고