Robert,

Thanks for your input!

I downloaded the source code.  Would you kindly point me which source
files can lead me to decoding?

Thanks again,

William



-----Original Message-----
From: Robert Story (Users) [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 17, 2004 11:46 AM
To: Will Chen
Cc: [EMAIL PROTECTED]
Subject: Re: SNMP Trap Decode

On Fri, 17 Sep 2004 11:28:00 -0500 Will wrote:
WC> When I am coding with incoming SNMP traps from SNMP agent which uses
WC> net-snmp SNMP package, I met a problem.  What I want to do is
printing out
WC> all the bindings for incoming SNMP traps, just like the information
logged
WC> in snmptrap.log if I use ___snmptrapd ___o snmptrap.log___ command. 

WC> The problem I___ve met is that after I capture the UPD datagram (not
care
WC> about the UPD overhead) and keep it in Char array in C++.  But when
I try
WC> to print it, the result is not ASCII code.

Try looking at the snmptrapd source code to see how it works.

-- 
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. 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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