python socket usage
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sat Aug 18 00:34:22 EDT 2007
In message <mailman.2046.1187250159.22759.python-list at python.org>, Oğuz
Yarımtepe wrote:
> Is it possible to send a data object like a tuple or a list in socket
> programming?
You'll have to define a bytestream encoding to send over the connection.
I recently wrote up some Python code
<http://www.codecodex.com/wiki/index.php?title=Simple_Chunk_Protocol_Format>
based on the old "chunk" idea from the Amiga days. Feel free to have a read
and see if it makes sense to you.
More information about the Python-list
mailing list