On Tue, 29 Mar 2005 16:49:39 +0800 (CST) [EMAIL PROTECTED] wrote: LMCC> Thanks very much for your help. But could you please LMCC> give me some guides about how to notify the snmpd LMCC> thread to send a trap?
You can use and standard IPC mechanism available to you. Semaphores, shared memory, named pipes, tcp, udp, a file, etc. I suggest something that communicates via a file descriptor, since it's easy to add a callback to the agent which will run when data arrives on a file descriptor. -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders