Charles-Francois Natali <neolo...@free.fr> added the comment:

The problem is that if you run out of "network buffers" (I guess it's 
equivalent to Unix socket buffers), what do you do ?
If the network or the receiving host is congested, spinning around the send 
call trying to resend the data isn't going to improve things, you should 
probably wait a little before retrying. Furthermore, if you get this type of 
error, it's probably because you're using non-blocking sockets. And if it's the 
case, you should be prepared to this type of transient error, and use 
socket.send instead (so that you can sleep, retry, etc if necesssary).

----------
nosy: +exarkun, neologix

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8493>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to