Trap handler

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I want to write simple trap handler that will receive traps/informs caught by snmptrapd. Idea is that snmptrapd will, using "forward" option, send all traps/informs to my application (it will be COM object written in C++). 
Regarding this I have few questions:
- How I should listen on incoming traps/informs? Should I use normal socket or maybe net-snmp API contains some functions that can help with socket initialization and messages receiving?
- I guess snmptrapd will forward to my application only authorized traps/informs. Will these traps/informs be also deciphered (if priv security level was selected)?
- What kind of net-snmp API functions I should use to parse received traps/informs?


Thanks for any help




-------------------------------------------------------------------------
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-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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.