Roger Binns wrote:
there's a socket.sendall(), so why no socket.recvall()?
BTW socket.sendall() doesn't actually work for large amounts
of data on Windows 2000 and probably other versions of
Windows as well. Eg if you supply a 1MB buffer then you get
an exception based on some internal Windows error code.
I haven't experimented on Unix yet to see if it has the same
issue.
I suspect that this is related to this issue:
http://www.python.org/sf/853507
socket.recv() raises MemoryError exception (WindowsXP ONLY)
Also see:
http://www.python.org/sf/1103350
But I haven't yet experienced this problem yet with sendall
(on linux and windows xp)
--Irmen
--
http://mail.python.org/mailman/listinfo/python-list