[SNMP4J] How to acquire actual destination address

Frank Fock fock at agentpp.com
Wed Feb 24 18:19:46 CET 2016


Hi,

You can get the address the command responder entity used to send the 
response,
using the ResponseEvent object (getPeerAddress()).

Best regards,
Frank

Am 24.02.2016 um 07:33 schrieb Danny.Cheng:
> Hi,
>
> We use snmp4j 2.3.4 version. We acquire listen address by org.snmp4j.TransportMapping getListenAddress(), and it will always return "0.0.0.0". I know "0.0.0.0" means that listen all IPv4 addresses on the local machine. My question is, can I acquire the actual destination address about the response packet?
>
> thanks,
> Danny
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> https://oosnmp.net/mailman/listinfo/snmp4j



More information about the SNMP4J mailing list