trap_rece binds to the SNMP trap port (udp/162) to listen for the traps, and thus must be run as a privileged user.
trap_rece prints, to standard output, messages corresponding to the traps it has received.
The primary purpose of this program is to demonstrate how traps are parsed using the SNMP library.
Community: public. Enterprise: experimental.x.xx.xx.xx.xx. Agent-addr: xxx.xxx.xxx.xxx. Authentication failure trap. Time Ticks: 0.
Name: iso.x.x.x Value: NULL
RFC 1155, RFC 1157, RFC 1213