About data structure

malan malan at club-internet.fr
Mon Sep 30 15:29:52 EDT 2002

Hi all,

I need to build a data structure like this :

size	4 bytes ( example 0x0000000A )
flag	1 byte  ( example 0x87 )
trans   8 bytes ( example 'URTVMI1' )
F5	3 bytes ( example 0x00125C )

How can I define that structure, format it and send it via a socket ?
My problem is to code / decode the message to and from the server.


More information about the Python-list mailing list