Am 07.01.2013 11:35 schrieb iMath:
what’s the difference between socket.send() and socket.sendall() ?
It is so hard for me to tell the difference between them from the python doc
so what is the difference between them ?
and each one is suitable for which case ?
The docs are your friend. See
http://docs.python.org/2/library/socket.html#socket.socket.sendall
| [...] Unlike send(), this method continues to send data from string
| until either all data has been sent or an error occurs.
HTH,
Thomas
--
http://mail.python.org/mailman/listinfo/python-list