note 85010 added to function.curl-multi-select

From: Date: Sun, 10 Aug 2008 13:38:10 +0000
Subject: note 85010 added to function.curl-multi-select
Groups: php.notes 
Request: Send a blank email to php-notes+get-143347@lists.php.net to get a copy of this message
This function blocks the calling process until there is activity on any of the connections opened by the curl_multi interface, or until the timeout period has expired. In other words, it waits for data to be received in the opened connections. Internally it fetches socket pointers with "curl_multi_fdset()" and runs the "select()" C function. It returns in 3 cases: 1. Activity is detected on any socket; 2. Timeout has ended (second parameter); 3. Process received any signal (#man kill). The function returns an integer: * In case of activity it returns a number, usually 1. I suppose, it returns the number of connections with activity detected. * If timeout expires it returns 0 * In case of error it returns -1 Thanks for attention, hope this helps. ---- Server IP: 91.196.196.241 Probable Submitter: 91.124.214.223 ---- Manual Page -- http://www.php.net/manual/en/function.curl-multi-select.php Edit -- https://master.php.net/note/edit/85010 Del: integrated -- https://master.php.net/note/delete/85010/integrated Del: useless -- https://master.php.net/note/delete/85010/useless Del: bad code -- https://master.php.net/note/delete/85010/bad+code Del: spam -- https://master.php.net/note/delete/85010/spam Del: non-english -- https://master.php.net/note/delete/85010/non-english Del: in docs -- https://master.php.net/note/delete/85010/in+docs Del: other reasons-- https://master.php.net/note/delete/85010 Reject -- https://master.php.net/note/reject/85010 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143347) next »