Re: BER

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/7/22 pch0317 <[email protected]>:
> I have problem with decoding packet.
> How to correctly decode this few byte:
> 43 04 39 D0 DB 06 (Hex)
> I know that 43 is the type of time ticks, 04 is length, but how to
> decode the rest.

  39 d0 db 06 (hex) = 969988870 (decimal)

(((((((((((((
3 * 16 )
   + 9 ) * 16 )
       + 13 ) * 16 )
           + 0 ) * 16 )
                + 13 ) * 16)
                   + 11 ) * 16)
                       + 0 ) * 16)
                          +6

Dave

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.