Note that dio_read on Windows (other platforms unknown) will not timeout if there is no data to read. There is no way to specify a timeout or do a non-blocking read on Windows.(PHP 4 >= 4.2.0, PHP 5 < 5.1.0)
dio_read — Прочитай байты из файлового дескриптора
   Функция dio_read() читает и возвращает
   len байт из дескриптора
   fd.
  
fdФайловый дескриптор, полученный из dio_open().
lenКоличество байт для чтения. Если не задано, то dio_read() прочитает блок в 1 килобайт.
   Байты будут читаться из fd.
  
Note that dio_read on Windows (other platforms unknown) will not timeout if there is no data to read. There is no way to specify a timeout or do a non-blocking read on Windows.