[SNMP4J] how to get the value of response?

Jochen Katz katz at agentpp.com
Mon May 17 16:44:46 CEST 2004


Hi,

>   PDU resp = new PDU();
>   mysnmp.sendPDU(mypdu,ctarg, useHandle, rl );

you should use:
   PDU resp = mysnmp.sendPDU(mypdu,ctarg, useHandle, rl );

A detailed example is in tools/console/SnmpRequest.java.

Regards,
   Jochen



More information about the SNMP4J mailing list