Re: [PHP] Question about socket_select

2011-12-14 Thread Mihai Anghel
On Wed, Dec 14, 2011 at 1:25 AM, Matijn Woudt tijn...@gmail.com wrote: On Wed, Dec 14, 2011 at 12:11 AM, Mihai Anghel mihaigrim1...@gmail.com wrote: Hello, It appears to me that something is strange with the socket_select function. From what I understand the value of the fourth parameter,

[PHP] Question about socket_select

2011-12-13 Thread Mihai Anghel
Hello, It appears to me that something is strange with the socket_select function. From what I understand the value of the fourth parameter, tv_sec, should block the execution of the script for that number of seconds. I tried this code : ?php error_reporting(E_ERROR); $serverSocket =

Re: [PHP] Question about socket_select

2011-12-13 Thread Matijn Woudt
On Wed, Dec 14, 2011 at 12:11 AM, Mihai Anghel mihaigrim1...@gmail.com wrote: Hello, It appears to me that something is strange with the socket_select function. From what I understand the value of the fourth parameter, tv_sec, should block the execution of the script for that number of