I am using net-snmp 5.7. Using Agent X.
I have written a code like

while(1){
-
-
-
if(flag)
agent_check_process(0);
 }

Whenever flag changes  0 to 1 it reconnect Agent X every time and program
has to wait 10 to15 seconds until it reconnect and process pending requests.
1. Is here any way not to reconnect every time??  or just temporary suspend
the agent_check_process(0) .
2. I don`t want to process pending requests.

Thanks in Advance.
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to