Re: Improved socket handling?
| From: | Andrei Zmievski | Date: | Wed, 14 Dec 2005 18:56:52 +0000 |
| Subject: | Re: Improved socket handling? | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6395@lists.php.net to get a copy of this message | ||
PHP-GTK 1 has a way to do this with input_add() function. This might need to be changed for PHP-GTK 2 to use I/O channels.
-Andrei
On Dec 14, 2005, at 5:37 AM, Christian Weiske wrote:
Hello all,there is another way, you can use gtk :: timeout_add, it will call a function(can be from an object) every x miliseconds(seconds?) On 12/14/05, Tabber Watts <tabber.watts@gmail.com> wrote:That works only if the main loop is running and isn't blocked - and by copying the file, it is blocked. --Regards/MfG, Christian Weiske