On Sun, 2005-11-13 at 23:28 -0500, Sharon Gowan wrote: > I have been looking for a good example of using get next to walk a section > of a mib, but it doesn't pop out at me from the net-snmp development web > site. Can anyone on this mailing list point me to a good, clearly-written, > bare-bones example similar to the one on the net-snmp site shows for GET?
What exactly are you wanting to do? The tutorial GET example could be converted to a GETNEXT version, simply by changing the snmp_pdu_create call to us SNMP_MSG_GETNEXT instead. Or you could look at the code for 'snmpwalk' to see how this could be used to walk a section of the OID tree. If you need something a bit more detailed, you'll need to be a bit clearer about exactly what you're trying to do. Dave ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
