ID:               25104
 Updated by:       [EMAIL PROTECTED]
 Reported By:      w at ff dot st
-Status:           Open
+Status:           Bogus
 Bug Type:         Sockets related
 Operating System: Windows
 PHP Version:      4.3.2
 New Comment:

Not nearly enough data to process this report.
(try reading the bug submitting guidelines first:
http://bugs.php.net/how-to-report.php)



Previous Comments:
------------------------------------------------------------------------

[2003-08-15 19:11:12] w at ff dot st

Description:
------------
I'm writing "application" scripts with PHP (such as a FTP server).
Usually I run them under Linux.
I tried to run a script on windows, and after some debugging, I found
that socket_select() was returning only when the first socket of the
read array has data.

Under linux, it works as expected, but under windows, I had to find a
way to stop using 100% CPU (usleep not available & socket_select
returning instantly if I give all null socket arrays and a non-null
timeout).

I'll try with the stream_select() function. It won't change that
socket_select() is bogus, that's why I'm posting that.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25104&edit=1

Reply via email to