2010/1/14 Ashish vashishtha <ashish.vashish...@gmail.com>: > when i am starting my existing application p1 that stops executing when it > starts the sub agent code(this code).
That's because you've got an (infinite) event loop: while(keep_running) { agent_check_and_process(1); } > can you please help me how i can develop sub agent that can be > embeded in existing application. You need to move the agent_check_and_process() call into the event loop of your application, and the final snmp_shutdown()/SOCK_CLEANUP processing into the cleanup routines of your application. Dave ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users