Re: proc_open hang (data > 64k)
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: proc_open hang (data > 64k)

From: ZeldorBlat <zeldorblat@gmail.com>
Date: Wed Oct 26 2005 - 07:40:23 CEST

>(2) Use non-blocking reads/writes and poll or select.
>(I haven't looked at whether this is possible with PHP).

You can set the blocking mode of streams (including pipes) using
stream_set_blocking() :

<http://www.php.net/manual/en/function.stream-set-blocking.php>
Received on Mon Nov 21 02:50:12 2005