How to receive a data file of unknown length using a python socket?

Hendrik van Rooyen hendrik at microcorp.co.za
Sun Jul 19 12:07:54 EDT 2009


On Sunday 19 July 2009 15:18:21 python at bdurham.com wrote:
> Hi Hendrik,

> > If anybody is interested I will attach the code here. It is not a big
> > module.
>
> I am interested in seeing your code and would be grateful if you shared
> it with this list.

All right here it is.

Hope it helps

- Hendrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netstring.py
Type: application/x-python
Size: 3474 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20090719/e45876ef/attachment.bin>


More information about the Python-list mailing list