problem with async chat client in windows

Gabriel Genellina gagenellina at softlab.com.ar
Mon Jan 5 19:26:16 EST 2004


At 5/1/2004 03:02, you wrote:

>I'm writing a small chat client to learn some python and networking. No 
>problem with the network stuff tho, the problem is when the user should be 
>able to interact and type messages to send. Since I work with windows I 
>can't use the select function 
>(http://www.python.org/doc/current/lib/module-select.html). Maybe it could 
>work if I use two threads? One thread reading keyboard and the other 
>handling network stuff, but I would prefer to leave threads out from this. 
>Any suggestions?

You could try asyncore


Gabriel Genellina
Softlab SRL





More information about the Python-list mailing list