Does anyone know how the subagent send trap?

Ryan guo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hi,I am using the net-snmp 5.1.2,and i make a subagent using the agentx,i
can do some actions for the mib modules ,such as add init_***() for mib
modules in my subagent main method,but i am puzzling with the trap,how can
add trap action into my subagent or register it's function into subagent,who
can help me?or give me some example?
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.