agent_check_process(0)

Deepak Sachan <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAB-xFF7o_cWzJZ5TToteY8Rzpbm_xuwS8SusnUW2wci+vwTSXA__49581.6223019332$1569253688$gmane$org@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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.