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
Andreas R. wrote:
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.
The purpose of asynchat's push methods is to queue outgoing data and
send it when
Dennis Lee Bieber wrote:
On Wed, 08 Mar 2006 08:57:53 +0100, Andreas R.
[EMAIL PROTECTED] declaimed the following in
comp.lang.python:
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()
(possible duplicate; reposted due to mail server problems)
Andreas R. `wrote:
what sendall method ? to get proper output buffering with asynchat, use
Search for sendall here:
http://svn.gna.org/viewcvs/openrts/trunk/openrts/client/networksend.py?rev=67view=markup
That's what I was told to
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
Andreas R. wrote:
sendall may be sending everything, but it does so by blocking
until the other end acknowledges enough packets have been received to
ensure that no data is lost.
Yes, this is how I understood sendall. But why does it sometimes report
the error: (10035, 'The socket
Hi again,
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.
So how do I enable blocking with synchat, or otherwise fix this error?
Thanks for the help I've
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
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