How do I poll for irc data while running GUI?

Feel the fear and do it anyway!

Go multithread, learn about wx.PostEvent (look in the multithreading example from the Demo)

I’ve been there and I can tell you the fear is not justified.

May the source be with you!

Peter

···

On 8/16/07, Lucas lucaslevin@gmail.com wrote:

Hello,
I’m trying to make an IRC client, and I was originally thinking to do
socket.recv() on a timer, but now I realize if nothing happens for a while, the
program will freeze (I think) while it waits to receive something! I can’t

figure out how to get it to work.

I really don’t want to use multi threading. Would there be some way with the
Idle event or calling update during the recv?

Any help appreciated.
Thanks!


To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org


There is NO FATE, we are the creators.