[SNMP4J] sending multiple queries with send()
Rory Marquis
roridge at hotmail.com
Tue Dec 5 15:27:48 CET 2006
Are you using the synchronous method?
First off, make sure you are calling listen(); on the transport (I assume
you are because you are getting a message back?).
Then you do: "ResponseEvent response = snmp.send(pdu, target);"?
Then handling the response, and then callling snmp.send(pdu, target); again?
If that's what you are doing then that should work.
Don't call "snmp.close();" between sends otherwise you will get a socket
closed exception.
HTH
Rory
_________________________________________________________________
It's Hotmail's 10th Birthday! Come and play Pass the Parcel
http://www.msnpasstheparcel.com
More information about the SNMP4J
mailing list