Select hangs after some reads
Fredrik Lundh
fredrik at pythonware.com
Thu Jun 8 11:12:24 EDT 2006
alsmeirelles at gmail.com wrote:
> Yes, as I expected, its the buffers. In my opinion the problem is that
> the socket module doesn't provide a way of reading all its internal buffer.
umm. that's what recv() does, of course, of you pass in a large enough
buffersize.
for your use case, I suggest looking at asyncore/asynchat instead of
trying to write your own asynchronous socket layer...
</F>
More information about the Python-list
mailing list