Hi All

I am facing one strange problem.

I wants to add one check for timeout, means If my application wont receive 
response from other application I need to resend request/Pdu once again. 
I seen snmp_timeout API but that wont help me because this API is expensive for 
my application as snmp_timeout checks to see if any of the sessions have an 
outstanding request that has timed out.  If it finds one (or more), and that 
pdu has more retries available, a new packet is formed from the pdu and is 
resent. But it utilizes CPU fully & snmp_timeout API works in Blocking mode 
which I dont wants.
   
What I wants to do, If no response received within particular time-frame send 
same PDU to other end application. ( I wants to send same PDU which sent last 
time or else sent PDU will be considered as new PDU instead resent )

If anyone knows How to do it please help me.

thanks in advance.
Nagendra
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to