Network byte ordering question ...
ian stevens
istevens at calum.csclub.uwaterloo.ca
Tue Jun 6 20:07:38 EDT 2000
More information about the Python-list mailing list
Tue Jun 6 20:07:38 EDT 2000
- Previous message (by thread): Network byte ordering question ...
- Next message (by thread): Network byte ordering question ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <CC59868A0A76D311B1F50090277B321C1F3394 at VRTMAIL>, Mike Fletcher <mfletch at tpresence.com> wrote: >( val1, val2, val3, val4, val5 ) = unpack( ">16sBBBi", header ) Thanks! Actually, the following works better: ( val1, val2, val3, val4, val5 ) = unpack( "<16sBBBI", header ) I tried this both on an Intel and a Sun machine and they both return what I expect. I also forgot to mention that the last value was unsigned. >Yay! another Waterloovian Pythonista! Actually, ex-Waterloo ... graduated last year. thanks again, ian.
- Previous message (by thread): Network byte ordering question ...
- Next message (by thread): Network byte ordering question ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list