On 26/10/2007, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> there was nothing helpful in snmplib/fd_event_manager.c
> Since the routines are original and there is no example, please send the
> simplest example, where it implements register_{read,write}fd().
> I must implement sending the (new protocol!) messages via agent.

I don't have an example of using this mechanism, since it's not
something I've ever needed to do.

A quick search on Google threw up mention of a message on the net-snmp-users
mailing list, on 28th March 2007, with the subject
    "Writing/building my trap send code - within snmpd"

That seems to have some example code - have a look at that, and see if
that gets you started.

If you can come up with a useful example, please submit it to the project,
so we can make it available to others who find themselves in a similar
position in future.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to