>>>>> On Thu, 14 Oct 2010 15:32:25 -0600, "Marc Butler" <[email protected]> 
>>>>> said:

MB> I have a subagent using the AgentX protocol. From the same process I
MB> need to make requests to the master agent using
MB> snmp_synch_response(). To complicate matters, requests for values
MB> that have handlers registered in the process, will also be routed
MB> through the master agent.

You can do it, but you need to use asyncronouse requests and delegated
responses.  See the agent/mibgroup/event-mib for a complex example that
does exactly what you're talking about (to any agent) or
agent/mibgroup/examples/delayed_instance.c for a simple example showing
delegation.
-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to