agent_check_process(0)

Deepak Sachan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAB-xFF7o_cWzJZ5TToteY8Rzpbm_xuwS8SusnUW2wci+vwTSXA@mail.gmail.com>
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-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.