Hi all,

The FAQs suggest that the agent is not designed to be run
multithreaded. Is it ok, however, to run the agent in one thread and
to send traps using the net-snmp API in another? I'm currently doing
so, sending traps using snmp_sess_init, snmp_open and
snmp_sess_transport to set up the connection, and
snmp_pdu_create(SNMP_MSG_TRAP), then either snmp_synch_response or
snmp_send to create and send the PDU, and I haven't seen any
problems... yet. But I haven't been running heavy stress tests.

Any feedback would be most appreciated!

Cheers,
-Dan

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to