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.
dio_read
(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5)
dio_read — Liest n Bytes und gibt sie zurück, ist n nicht angegeben wird ein 1K Block gelesen
Beschreibung
string dio_read
( resource $fd
[, int $n
] )
Die Funktion dio_read() liest n Bytes aus der Datei fd und gibt diese zurück. Wird der optionale Parameter n nicht angegeben, wird standardmässig ein 1K Block gelesen und zurückgegeben.
dio_read
matt at vhub dot com
18-May-2006 07:48
18-May-2006 07:48
