On Wed, 25 May 2005 16:39:27 -0700 Toth, wrote:
TGS> We are using the single session api to communicate with SNMP agent.
TGS> Once we have the session open, can we change the timeouts "on the fly"?
TGS> 
TGS>    struct snmp_session  session, *sptr;
TGS> 
TGS>     sessp = snmp_sess_open(&session);
TGS>     sptr = snmp_sess_session(sessp);
TGS>   
TGS>    //sometime later 
TGS>    sptr->timeout = new_timeout1;
TGS> 
TGS>    //sometime later 
TGS>    sptr->timeout = new_timeout2; 

Yes, I think that should work just fine.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to