[SNMP4J] Problem:Unable to receive a response

Frank Fock fock at agentpp.com
Wed Jun 22 06:52:41 CEST 2005


Hi Mark,

The sendPDU method is deprecated and you should not use it any
more. Choose one of the send(..) methods, depending of whether
you want synchronous or asynchronous processing.

Best regards,
Frank

Mark Chan wrote:

>Hi all,
>
>Thanks guys got my problem solved. Apparently i left out the listen
>function(). However i did realise that i had to call the
>snmp.sendPDU(request, target, null, listener); to get a response. The
>snmp.send(request, target) did not work...
>Is that okay?
>
>Best Regards,
>Mark
>  
>





More information about the SNMP4J mailing list