Designing socket messaging format
Cimarron Taylor
cimarron+google at taylors.org
Mon Nov 12 05:34:42 EST 2001
shriek at gmx.co.uk (Stephen) wrote in message news:<97ae44ee.0111111912.14006c7f at posting.google.com>...
> I'm developing a program which sends messages back and forth
> between two servers using sockets. The message format I've
> been given is "YYYYTTTTTTTTTTTTTTTTTTTTTTT"
Why not save yourself a little coding and just use netstrings?
more info: http://itamarst.org/multiplex
advogato copy: http://www.advogato.org/article/212.html
python code: http://itamarst.org/downloads/multiplex-0.2.tgz
description: http://cr.yp.to/proto/netstrings.txt
Cim
More information about the Python-list
mailing list