[SNMP4J] Response Ip address

Ahmed Fouad ahmed.fouad.helmy at gmail.com
Wed Feb 18 10:53:11 CET 2009


Hi Frank,

I just have a small question.

Can I know (by any means) what is the ip address that sent me the response?

For example, consider this code:

ResponseListener listener = new ResponseListener() {
     public void onResponse(ResponseEvent event) {
         System.out.println("Received response PDU is:
"+event.getResponse()); // can i get the ip address from the response pdu??
     }
};

If not, is there any easy way to implement this feature?

Thank you

Abdelraouf



More information about the SNMP4J mailing list