On Sat, 16 Jul 2011 14:02:50 -0700 Shivanand wrote: SV> I have a multi-threaded app, that creates & uses netsnmp (5.5.2) sessions, SV> and performs snmp_sess_synch_response on them.
Note that the v3 code is not thread safe. See README.threads. SV> however, every request to an alive snmpd fails with STAT_TIMEOUT. If I make SV> the same request from the command line, using the snmpget application, the SV> query succeeds. What would cause snmp_sess_synch_response to always timeout? SV> SV> I have also asked the question on StackOverflow (don't judge me ;) ) SV> http://stackoverflow.com/questions/6714556/when-does-snmp-synch-response-in-net-snmp-return-stat-timeout Can you show us how you are setting up the session? ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
