snmptrap callback

2009-06-25 Thread Viveka Nathan K
Hi All, I would like to know, similar to register a callback function for trap in Perl, On receiving trap, can I do any registration in C++ application ? Please give your information. Regards, Vivek  ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET http://cricket.yahoo.com--

How to use net-snmp trap daemon?

2009-06-22 Thread Viveka Nathan K
Hi all, As I read Snmptrapd man page, it will inform the received traps, either by executing user defined application, or forward to another listener. How to invoke the trap receiver in my own application. If I write my own callback function, is there any way to call it, on receiving traps ? I h