File transfer on network

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sat Jul 17 19:29:55 EDT 2010


In message <mailman.797.1279235288.1673.python-list at python.org>, MRAB wrote:

> You could either open and close a connection for each image, or have the
> client tell the server how many bytes it's going to send, followed by
> the bytes (my preference would be to send the size as a string ending
> with, say, a newline).

I have used variations on this 
<http://www.codecodex.com/wiki/index.php?title=Simple_Chunk_Protocol_Format> 
in several projects.



More information about the Python-list mailing list