J
Jonas
Hi,
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?
thx for your time
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?
thx for your time