Hello, Dave & Magnus
   Now I'm implementing a software which uses SNMP to operate agents.
I've wrapped the snmpget, snmpset functions for own use.
As my program runs sequtially, when it calls snmpget function, it will
not do anything else. I noticed there's a timeout set internally in the
snmp_synch_response_cb  function which used to communicate between
manger and agents, and the value is approximately 8s( I'm not sure :).
Give a thought to my program, I think 8s is a little bit long, I want to
short it to 2s, however, there's no arguments for timeout vaule in
snmp_synch_response_cb.
How can I change the timeout value for the APIs? ( I noticed there's a
timeout parameter in struct snmp_session, while I guess the set of this
value is usually longer, say 24s, every 8s(mentioned above), it will
resend the message, if no response got until 24s, the program ended. Is
it the case? ).



Thanks for your help in advance!
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to