note 79735 deleted from function.stream-set-blocking by nlopess
| From: | nlopess@php.net | Date: | Mon, 10 Dec 2007 22:34:32 +0000 |
| Subject: | note 79735 deleted from function.stream-set-blocking by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133331@lists.php.net to get a copy of this message | ||
Note Submitter: Nicolas
----
Well, how on earth do I use B/NB mode? I'm inconsistently having fread block when there is
*some* data but not the full length I ask for. I want it to return as soon as there is at least 1
byte... but using fread($fp, 1) is quite inefficient.