I am currently developing a monitoring application for some of my own hardware using net-snmp. I have some code that works somewhat when calling snmp_pdu_free()my segfaults code. I am creating a pdu structure with snmp_create_pdu(). I need an API link to see if I really write my code correctly, but I could not find it. The best I've found are the tutorials on the net-snmp website, but they don't really help determine if my code is correct when I debug it.
source
share