[AGENT++] how to set snmp v1 trap's trap type and specific type

Jochen Katz katz at agentpp.com
Wed Apr 5 22:09:05 CEST 2006


Hi,

> Looks through the sample code snmpTrap.cpp. Did not figure out where/how
> to set snmp v1 trap's generic type and specifc type.

just use Pdu::set_notify_id() and set_notify_enterprise().

Regards,
  Jochen




More information about the AGENTPP mailing list