Fredrik Lundh wrote: > "Andreas R." wrote: > >> I'm using Python's asynchat module for networking. >> When calling the sendall() method of asynchat, >> I sometimes get the error message "the operation >> could not complete without blocking". > > what sendall method ? to get proper output buffering with asynchat, use > "push" (or "push_with_producer").
The problem I was having with push, is that is does not always send complete packages. The solution to this was to use sendall() instead, but sendall() gives blocking error messages. - Andreas -- http://mail.python.org/mailman/listinfo/python-list