On Thu, 23 Nov 2000, Alexandre Fayolle wrote:
> On Tue, 21 Nov 2000, James Henstridge wrote:
>
> > Use the input_add function. It should do what you want.
>
> OK, it works perfectly under linux. However, I'm having troubles when I
> test the code under WinNT. I get the following assertion failure printouts
> on the console, and of course, the socket does not respond afterwards.
>
> GLib-WARNING **: 220 isn't a (emulated) file descriptor
>
> GLib-CRITICAL **: file giochannel.c: line 115 (g_io_add_watch_full):
> assertion `
> channel != NULL' failed
>
> GLib-CRITICAL **: file giochannel.c: line 60 (g_io_channel_unref):
> assertion `ch
> annel != NULL' failed
According to Tor Lillqvist, the author of the gtk win32 port, the problem
is that sockets are not handled in the current version of the win32 port
of gdk_input_add(). I'm working with him to fix this, and I'll keep the
list informed.
Alexandre Fayolle
--
http://www.logilab.com
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk