I didn't see a response to this old message, and I hope you solved the problem on your own. Just answering for the archives in case someone else ran into this same problem.
On Wed, 9 Dec 2009 21:19:30 +0530 Goutham wrote: GB> But I am not sure whether not calling snmp_shutdown() after sending the GB> trap(and closing the session using snmp_close() ) is the right thing to do. No, it isn't. The shutdown function should only be called when the application is exiting. The net-snmp library isn't meant to be started an stopped within an application. GB> Can anyone please let me know whether there will be any side effects (memory GB> leaks etc) if we dont call snmp_shutdown() at the end of the application? If the application is existing, the OS will clean up any unreleased memory. GB> Is invoking snmp_close() enough to do all the clean up? Yes, that should be fine. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
