Forum Discussion
Hamish
Oct 30, 2008Cirrocumulus
How are you converting the SNMP value to your system? SNMP uses network byte order (BigEndian - Which is the order you'd write a number out on paper MSb on the left), and x86 store numbers the other way round (LittleEndian - Reversing the Bytes). Plus the number will probably come back as two 32bit values (Rather than a single 64bit value), and you'll have to shift the hi-order longword 32bits and then logically OR it with the low-order longword.