asynchat + send problem

Andreas R. andreas at openrts.org
Mon Feb 13 15:21:19 EST 2006


Hello,

I'm using Python's asynchat for networking. If I invoke the send() 
method of the asynchat module, only a single send operation is possible 
at any given time. If I call it more than once, only the first call is 
registered at the other client.

So how do I fix this?  Do I have to use select etc.?

The source code is here:
http://svn.gna.org/viewcvs/openrts/trunk/openrts/server/clienthandler.py?rev=36&view=markup

Thanks in advance!

Andreas R.
www.openrts.org



More information about the Python-list mailing list