[SNMP4J] Problems with send method
pontus zoladz
z_pontus at hotmail.com
Sun Apr 22 22:59:56 CEST 2007
Hi,
My program compiles just fine now. The problem however is that my app is not
sending any requests
i have checked this with etherreal. Just to remind you of what my send
method looked like:
try{
transport.listen();
pdu.setType(PDU.GETBULK);
pdu.addOID(new VariableBinding(new
OID("1.3.6.1.2.1.4.21")));
ResponseEvent response=snmp.send(pdu,
target);
PDU responsePDU=response.getResponse();
String resp=responsePDU.toString();
jTextArea1.append(resp);
transport.close();
}catch(IOException e){}
what could be wrong?
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the SNMP4J
mailing list