title: How to write a code sending user defined traps by using Net-SNMP API
body: <p>Can we write the code for sending user defined traps rather than those mentioned in snmpd using Net-SNMP API like below to send traps netsnmp_send_traps(), send_v2trap(), send_v3trap()?</p>
  
  <p>I am not planning to write any MIB module. So I don't expect that my trap should be going through snmpd (Agent Daemon). </p>
  
  <p>The idea I want to implement is that sending trap from external code to snmptrapd which will receive traps and forward it to configured trap receiver to get more familiar with Net-SNMP library.</p>