Quantcast
Channel: C# Based Open Source SNMP Library for .NET and Mono
Viewing all articles
Browse latest Browse all 576

Commented Unassigned: GetBulkRequestMessage crashes with large repetitions [7273]

$
0
0
Hi,

When attempting to run GetBulkRequestMessage with large repetitions that reach the end of the MIB. So if I attempt to pull 40 and there are only 39 in the MIB then the call fails with 2 exceptions thrown

1) System.Net.Sockets.SocketException in System.dll
2) Lextm.SharpSnmpLib.Messaging.TimeoutException in SharpSnmpLib.Full.dll


I believe the GetBulkRequestMessage is not handing the end of the MIB and seeing the failure to respond and a communication error instead.
Comments: Never mind Lex, I found the Count property (not sure how I missed it before) :-/ SNMPresponse.Pdu.Variables.Count

Viewing all articles
Browse latest Browse all 576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>