Implementing get-next for table

jayesh km <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,

Is there any example code that will help me in understanding how to implement getnext for a table.
I have following table with each row containing 
ID(string)   name(string)  rowStatus(int)  age(unsigned int) with ID as index
I am storing the table in a C++ map. I have been successful in getting "GET" and "SET" implemented through a previous post.
I am really confused how to implement the get-next. Main confusion I am having is like how we will get the request in the handler function and how to return the value (do we need to fill the OID, index or any other field in the response)

Please help me in getting it right.

Thanks in advance,
Jayesh KM  



      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

------------------------------------------------------------------------------

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