Packet parsing problem...

Ben Hutchings ben.hutchings at roundpoint.com
Mon Feb 26 22:09:01 EST 2001


"Lyle Johnson" <ljohnson at resgen.com> writes:

> > 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.
> 
> I hate to ask, but is this the DWORD that's commonly typedef'd in the
> Windows header files? If so, it's just a 32-bit (signed) integer and it
> should map to a Python integer.

No, DWORD is unsigned.

-- 
Any opinions expressed are my own and not necessarily those of Roundpoint.



More information about the Python-list mailing list