there's a socket.sendall(), so why no socket.recvall()?
Irmen de Jong
irmen at -nospam-remove-this-xs4all.nl
Sun Jan 16 16:03:13 CET 2005
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
I suspect that this is related to this issue:
socket.recv() raises MemoryError exception (WindowsXP ONLY)
But I haven't yet experienced this problem yet with sendall
(on linux and windows xp)
More information about the Python-list