[AGENT++] how long can a oid be?

Jochen Katz katz at agentpp.com
Mon Jan 24 23:11:04 CET 2005


Hi,

> i found if the two 
> front oids are bigger than some value , when i receive, the oids show 
> not same as the send oid ??

the following comment from snmp++ asn1.cppshould explain your results
(component is a char)

    /*
     * The first two subidentifiers are encoded into the first component
     * with the value (X * 40) + Y, where:
     *  X is the value of the first subidentifier.
     *  Y is the value of the second subidentifier.
     */

Regards,
  Jochen




More information about the AGENTPP mailing list