find a good solution for UI not to freeze when high net usage
Yann came up with some workarounds which solve the problem in places. in some (not many) the problem is still there
in C you either get a G_IO_HUP or G_IO_ERR, or a G_IO_IN and then get 0 bytes returned when you read. All of those signal that the socket is gone and can't be used any longer it's a posix/unix convention. If it says "there is data to read (G_IO_IN) and you get 0 bytes back and no error, then the other end has closed the socket"
for pygtk I've written:
so we need to know if it's possible, how patching does xmpppy need (if any) and if it's going to work.
the idea is that gtk is event driven and the gtk.main() is the loop. that loop should get apart from the gui events the network ones too
if we solve this, we'll rock!