[snmp] AsnUnsInteger64

Andrew Chandler andy at riftware.com
Tue May 27 20:51:20 BST 2008


Isn't Unsigned Int 32 bits?   If so its below the threshold that would cause
negative values on the long as you have 63 bits before the sign bit on the
signed long. 

-----Original Message-----
From: snmp-bounces at snmp.westhawk.co.uk
[mailto:snmp-bounces at snmp.westhawk.co.uk] On Behalf Of Josh Bers
Sent: Tuesday, May 27, 2008 7:06 PM
To: 'List for discussion of the Westhawk SNMP stack'
Subject: [snmp] AsnUnsInteger64

I do not understand how you can use a long (64 byte SIGNED value) to
represent the unsigned values.. it will have the wrong sign for half the
range of the values. it's not clear that you can create an AsnUnsInteger
correctly for the (negative) values.

 

Josh

 

Josh Bers

Senior Engineer, Mobile Networking Systems

BBN Technologies

web: www.bbn.com ph: (617) 873-4262 fax: (617) 873-4523

 

_______________________________________________
snmp mailing list
snmp at snmp.westhawk.co.uk
http://snmp.westhawk.co.uk/mailman/listinfo/snmp

--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the snmp mailing list