On Tue, 24 Aug 2004 17:22:51 +0800 valley wrote:
V> I tend to extend a snmp agent on vxworks using net-snmp, I doubt about the
V> process of multi request at the same time. That is, if application need a
V> long time to finish one request's action , and before application finish it,
V> we need agent can receive other requests.  And after agent receive the
V> "finish" information from application , agent can send response.
V> Can this requirment be realized? How to do it generally?

Yes (for the GET family of requests, not for SETs), using delegated requests.
See the code in agent/mibgroup/examples/delayed_instance.c.

See also:

        http://www.net-snmp.org/faqs/rstory/#multithread

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

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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

Reply via email to