I am using the net-snmp C library on Windows. I want to parse trap-related information from the MIB files.
I need some sample code to do this. I didn’t find anything useful on http://www.net-snmp.org/
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is some sample code to parse MIB files using the net-snmp library.
Before you use this code you need to refer or add the Include and Lib directories of net-snmp in your project properties: