asynchat + send problem

Fredrik Lundh fredrik at pythonware.com
Mon Feb 13 15:31:40 EST 2006


"Andreas R." <andreas at openrts.org> wrote:

> 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.

use "push" to queue outgoing data, not "send".  see

    http://www.effbot.org/librarybook/asynchat.htm

for a few examples.

</F>






More information about the Python-list mailing list