Packet parsing problem...

Brian Geddes brian.j.geddes at intel.com
Mon Feb 26 17:11:09 EST 2001


Here's my situation:

There is an already-existing server (written in C++), which communicates
with clients through 1-packet messages.  Each packet consists of a header of
2 or 3 C++ DWORDs, followed by 0 to n bytes of data.  I have to write a
Python client to communicate with this server.

In python, is there any structure that approximates the C++ DWORD?  I need
to be able to parse incoming packets, as well as properly form messages to
the server.

Any suggestions?

Thanks,
- Brian





More information about the Python-list mailing list