Re: Network Byte order for Counter64 objects

Subrahmanya Hegde <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave
    thanks.
   
  What about the Integer instance values? I think we need to convert them to network byte order right? or is it taken care by the library as well?
   
  thx
  Subra
  

Dave Shield <[email protected]> wrote:
  On 25/07/06, Subrahmanya Hegde wrote:
> From the MIB Stub functions, do we need to call 'hton64' API to convert the
> host byte order to network byte order for Counter64 objects?
>
> Do we need to explicitly do 'htonl' for INTEGER(integer, integer32,
> unsigned32 etc) objects from Stub Functions?

No - all of that should be handled by the library encoding routines, I think.

Dave


 		
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
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.