Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SNMP Bulk Request  RSS feed

vignesh Thamarai
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Friends,

now iam devoloping a snmp program that deals bulk request, i hav some exception

in my below code "data2" is encoded byte array containing some buffer values return from some device.

now iam decoding as "SNMPMessage message1 = new SNMPMessage(SNMPBERCodec.extractNextTLV(data2,0).value);"

it return an exception. snmp.SNMPBadValueException: Problem while decoding SNMP: packet truncated or corrupt , I google it but i cant find any solution.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!