blocked window with connections
| From: | listas at xergio dot net | Date: | Mon, 25 Nov 2002 21:22:51 +0000 |
| Subject: | blocked window with connections | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2725@lists.php.net to get a copy of this message | ||
well. i have one problem with a script...
i connect.. for example on irc. to make this, you must to use a while (!eof
($conx))... or while ($read = fgets($conx)) after a $conx = fsockopen(). I
added: while (gtk::events_pending()) gtk::main_iteration(); into the loop, as i
see in other messages, but the window that i have created with php-gtk is
blocked when the connectin don't recive any information. when get some data it
run fine...
someone have a little solution? you can see an easy example here:
http://www.xergio.net/dev/example.txt
ah, I use windows...... :/