On ons, 2007-05-30 at 14:28 +0530, Shivani Garg wrote:
> Hi,
>
> I am building a netSNMP sub-agent which accepts SNMP Get from master
> daemon and has to forward the request to an external process (say
> myModule). My sub-agent will wait for a response to this SNMP Get from
> myModule and will fill the values for objects in var_<myObject>()
> functions { which are generated by mib2c for my MIB }. To achieve
> this, I want to send a UDP buffer to myModule and make a call to
> select() inside var_<myObject>() function.
This sounds like a job for a delegated handler.
Please see agent/mibgroup/examples/delayed_instance.c for an example.
/MF
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders