[AGENT++] Port

Jochen Katz katz at agentpp.com
Mon Feb 13 22:22:53 CET 2006


Hi,

> Any easy way to change to port of the SNMP request?

just do it as the consoleExamples
udp_addr.set_port(10161)
target.set_address(udp_addr)
snmp.get_next( pdu, target)

> I saw there are multiple definitions for the port number (defines)?

snmp++ uses these as defaults if no port is set.

Regards,
  Jochen




More information about the AGENTPP mailing list