On windows s.o. , I have an open server socket listening on port 162 in upd mode , for snmp trap ( snmp v2c ). I receive a trap but I can able to decode the fields meaning. I try to find if there is a match with the layout specified inside the snmp protocol but I didn't sucess.
On a linux machine , using snmptrad command I send a trap like this: $ /usr/local/bin/snmptrap -v 2c -c public 192.168.200.218 0 .1.3.6.1.4.1.17377.36.1700 The socket ( I use the IDE bolrand with Piette TWSocket component ) read the the trogger and show the data read like the one show below ( character between <> are hex ) [18/04/2005 14.44.07] [TRAP] [from 192.168.200.222:64642] 0E<02><01><01><04><06>public<A7>8<02><04>f<DB><9E><D8><02><01> For refernce the previous snmptrap command when sended to one linux PC with nem-snmp rev 5.0.8 show the following output: 2005-04-18 14:40:51 P0101222 [192.168.200.222]: SNMPv2-MIB::sysUpTime.0 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::snmpTrapOID.0 = OID: AESYS-MIB::trapPmv.1700 Someone on the list have already experienced on that and have some suggestion to help me ? Mybe there is some library which I should use with a C++builder project , which can help me ? Regards, Enzo Arlati [EMAIL PROTECTED] http://www.aesys.it ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users