Author kiilerix
Recipients georg.brandl, kiilerix
Date 2009-05-12.14:19:03
SpamBayes Score 0.0093965
Marked as misclassified No
Message-id <>
Content says about socket.send:
"Applications are responsible for checking that all data has been sent;
if only some of the data was transmitted, the application needs to
attempt delivery of the remaining data."

And about socket.sendall:
"Unlike send(), this method continues to send data from string until
either all data has been sent or an error occurs."

However, the examples on the same page uses plain conn.send(data)
without checking anything. That is misleading.

A solution could be to use conn.sendall(data) instead.
Date User Action Args
2009-05-12 14:19:05kiilerixsetrecipients: + kiilerix, georg.brandl
2009-05-12 14:19:05kiilerixsetmessageid: <>
2009-05-12 14:19:03kiilerixlinkissue6005 messages
2009-05-12 14:19:03kiilerixcreate