<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>sharpsnmplib Work Item Rss Feed</title><link>http://www.codeplex.com/sharpsnmplib/WorkItem/List.aspx</link><description>sharpsnmplib Work Item Rss Description</description><item><title>Commented Issue: How Messenger closes Sockets? [4988]</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4988</link><description>I&amp;#39;m getting a random exception from a monitoring windows service built using &amp;#35;SNMP. Exception is not catchable from .NET Framework code &amp;#40;it&amp;#39;s a memory corruption inside Microsoft Visual C Runtime, during memcopy function&amp;#41;.&lt;br /&gt;Looking at memory mini dumps I found no clues about what&amp;#39;s going on. Because this kind of exceptions are related to unmanaged resources, and my code is a pure .NET Framework application, all seems related to Windows Sockets.&lt;br /&gt;So I had a look at how and when Messenger class closes UDP sockets, but found none. Socket are instanced using an Helper class, but no explicit Close method is called on socket instances &amp;#40;Shutdown is not needed because using connectionless ones&amp;#41;. I modified Messenger class a bit &amp;#40;you can find it attached&amp;#41;.&lt;br /&gt;I&amp;#39;m I missing something&amp;#63; Maybe this is not useful at all&amp;#63;&lt;br /&gt;Just to let you know a bit more about what I&amp;#39;m doing, my windows service is running SNMP tabular queries against many different devices, using a timer for scheduling. Crashes happen after a random amount of time, from 12 hours to 3 days.&lt;br /&gt;Comments: ** Comment from web user: lextm ** &lt;p&gt;Thanks for getting back with this information. It&amp;#39;s my pleasure to assist you on this issue. &lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;</description><author>lextm</author><pubDate>Mon, 05 Oct 2009 02:01:27 GMT</pubDate><guid isPermaLink="false">Commented Issue: How Messenger closes Sockets? [4988] 20091005020127A</guid></item><item><title>Commented Issue: How Messenger closes Sockets? [4988]</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4988</link><description>I&amp;#39;m getting a random exception from a monitoring windows service built using &amp;#35;SNMP. Exception is not catchable from .NET Framework code &amp;#40;it&amp;#39;s a memory corruption inside Microsoft Visual C Runtime, during memcopy function&amp;#41;.&lt;br /&gt;Looking at memory mini dumps I found no clues about what&amp;#39;s going on. Because this kind of exceptions are related to unmanaged resources, and my code is a pure .NET Framework application, all seems related to Windows Sockets.&lt;br /&gt;So I had a look at how and when Messenger class closes UDP sockets, but found none. Socket are instanced using an Helper class, but no explicit Close method is called on socket instances &amp;#40;Shutdown is not needed because using connectionless ones&amp;#41;. I modified Messenger class a bit &amp;#40;you can find it attached&amp;#41;.&lt;br /&gt;I&amp;#39;m I missing something&amp;#63; Maybe this is not useful at all&amp;#63;&lt;br /&gt;Just to let you know a bit more about what I&amp;#39;m doing, my windows service is running SNMP tabular queries against many different devices, using a timer for scheduling. Crashes happen after a random amount of time, from 12 hours to 3 days.&lt;br /&gt;Comments: ** Comment from web user: andreabertolotto ** &lt;p&gt;Thank you so much for having a look at this and patching it.&lt;br /&gt;This one just to let you know, memory leaks continued in my application even with new version of &amp;#35;SNMP. After about 10 days of tracing and WinDbg, I traced back a problem with .NET Framework class for Ping &amp;#40;it&amp;#39;s in System.Net.NetworkingInformation&amp;#41;. Before sending SNMP queries to my devices, I&amp;#39;m pinging them, to have a feedback on device availability. In a very concurrent environment, with low memory and strong processor pressure, GC introduces an unmanaged memory leak. This is reported in&amp;#58; http&amp;#58;&amp;#47;&amp;#47;connect.microsoft.com&amp;#47;VisualStudio&amp;#47;feedback&amp;#47;ViewFeedback.aspx&amp;#63;FeedbackID&amp;#61;157891.&lt;br /&gt;So, again, thank you very much for all your efforts in this rock solid library.&lt;/p&gt;</description><author>andreabertolotto</author><pubDate>Sun, 04 Oct 2009 12:16:05 GMT</pubDate><guid isPermaLink="false">Commented Issue: How Messenger closes Sockets? [4988] 20091004121605P</guid></item><item><title>Closed Issue: Small bug in TestGetTable example [5020]</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=5020</link><description>Hello Lex,&lt;br /&gt;&lt;br /&gt;I found a very small problem in for loops in TestGetTable example source code&amp;#58; all for loops &amp;#40;they are four&amp;#41; are evaluated to be less than table GetUpperBound, but that method is zero based, so evaluation should be less than or equal.&lt;br /&gt;&lt;br /&gt;I.e. in code we have&amp;#58;&lt;br /&gt;&lt;br /&gt;for &amp;#40;int row &amp;#61; 0&amp;#59; row &amp;#60; table.GetUpperBound&amp;#40;0&amp;#41;&amp;#59; row&amp;#43;&amp;#43;&amp;#41;&lt;br /&gt;&lt;br /&gt;and it should be&lt;br /&gt;&lt;br /&gt;for &amp;#40;int row &amp;#61; 0&amp;#59; row &amp;#60;&amp;#61; table.GetUpperBound&amp;#40;0&amp;#41;&amp;#59; row&amp;#43;&amp;#43;&amp;#41;&lt;br /&gt;&lt;br /&gt;In actual code, tables with only one row are not shown at all.&lt;br /&gt;Comments: &lt;p&gt;Fix checked in.&lt;/p&gt;</description><author>lextm</author><pubDate>Fri, 02 Oct 2009 10:10:01 GMT</pubDate><guid isPermaLink="false">Closed Issue: Small bug in TestGetTable example [5020] 20091002101001A</guid></item><item><title>Commented Issue: Small bug in TestGetTable example [5020]</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=5020</link><description>Hello Lex,&lt;br /&gt;&lt;br /&gt;I found a very small problem in for loops in TestGetTable example source code&amp;#58; all for loops &amp;#40;they are four&amp;#41; are evaluated to be less than table GetUpperBound, but that method is zero based, so evaluation should be less than or equal.&lt;br /&gt;&lt;br /&gt;I.e. in code we have&amp;#58;&lt;br /&gt;&lt;br /&gt;for &amp;#40;int row &amp;#61; 0&amp;#59; row &amp;#60; table.GetUpperBound&amp;#40;0&amp;#41;&amp;#59; row&amp;#43;&amp;#43;&amp;#41;&lt;br /&gt;&lt;br /&gt;and it should be&lt;br /&gt;&lt;br /&gt;for &amp;#40;int row &amp;#61; 0&amp;#59; row &amp;#60;&amp;#61; table.GetUpperBound&amp;#40;0&amp;#41;&amp;#59; row&amp;#43;&amp;#43;&amp;#41;&lt;br /&gt;&lt;br /&gt;In actual code, tables with only one row are not shown at all.&lt;br /&gt;Comments: ** Comment from web user: lextm ** &lt;p&gt;Thanks for the report.&lt;/p&gt;&lt;p&gt;I will check in the fix soon.&lt;/p&gt;</description><author>lextm</author><pubDate>Fri, 02 Oct 2009 10:06:02 GMT</pubDate><guid isPermaLink="false">Commented Issue: Small bug in TestGetTable example [5020] 20091002100602A</guid></item><item><title>Created Issue: Small bug in TestGetTable example [5020]</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=5020</link><description>Hello Lex,&lt;br /&gt;&lt;br /&gt;I found a very small problem in for loops in TestGetTable example source code&amp;#58; all for loops &amp;#40;they are four&amp;#41; are evaluated to be less than table GetUpperBound, but that method is zero based, so evaluation should be less than or equal.&lt;br /&gt;&lt;br /&gt;I.e. in code we have&amp;#58;&lt;br /&gt;&lt;br /&gt;for &amp;#40;int row &amp;#61; 0&amp;#59; row &amp;#60; table.GetUpperBound&amp;#40;0&amp;#41;&amp;#59; row&amp;#43;&amp;#43;&amp;#41;&lt;br /&gt;&lt;br /&gt;and it should be&lt;br /&gt;&lt;br /&gt;for &amp;#40;int row &amp;#61; 0&amp;#59; row &amp;#60;&amp;#61; table.GetUpperBound&amp;#40;0&amp;#41;&amp;#59; row&amp;#43;&amp;#43;&amp;#41;&lt;br /&gt;&lt;br /&gt;In actual code, tables with only one row are not shown at all.&lt;br /&gt;</description><author>andreabertolotto</author><pubDate>Fri, 02 Oct 2009 06:02:04 GMT</pubDate><guid isPermaLink="false">Created Issue: Small bug in TestGetTable example [5020] 20091002060204A</guid></item><item><title>Closed Issue: How Messenger closes Sockets? [4988]</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4988</link><description>I&amp;#39;m getting a random exception from a monitoring windows service built using &amp;#35;SNMP. Exception is not catchable from .NET Framework code &amp;#40;it&amp;#39;s a memory corruption inside Microsoft Visual C Runtime, during memcopy function&amp;#41;.&lt;br /&gt;Looking at memory mini dumps I found no clues about what&amp;#39;s going on. Because this kind of exceptions are related to unmanaged resources, and my code is a pure .NET Framework application, all seems related to Windows Sockets.&lt;br /&gt;So I had a look at how and when Messenger class closes UDP sockets, but found none. Socket are instanced using an Helper class, but no explicit Close method is called on socket instances &amp;#40;Shutdown is not needed because using connectionless ones&amp;#41;. I modified Messenger class a bit &amp;#40;you can find it attached&amp;#41;.&lt;br /&gt;I&amp;#39;m I missing something&amp;#63; Maybe this is not useful at all&amp;#63;&lt;br /&gt;Just to let you know a bit more about what I&amp;#39;m doing, my windows service is running SNMP tabular queries against many different devices, using a timer for scheduling. Crashes happen after a random amount of time, from 12 hours to 3 days.&lt;br /&gt;Comments: &lt;p&gt;This is a unmanaged resource leak. Was introduced when I started to roll back changes about sharing socket object. &lt;/p&gt;&lt;p&gt;Thanks for the report. I just checked in the fix to the repository.&lt;/p&gt;</description><author>lextm</author><pubDate>Sat, 26 Sep 2009 02:26:43 GMT</pubDate><guid isPermaLink="false">Closed Issue: How Messenger closes Sockets? [4988] 20090926022643A</guid></item><item><title>Created Issue: How Messenger closes Sockets? [4988]</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4988</link><description>I&amp;#39;m getting a random exception from a monitoring windows service built using &amp;#35;SNMP. Exception is not catchable from .NET Framework code &amp;#40;it&amp;#39;s a memory corruption inside Microsoft Visual C Runtime, during memcopy function&amp;#41;.&lt;br /&gt;Looking at memory mini dumps I found no clues about what&amp;#39;s going on. Because this kind of exceptions are related to unmanaged resources, and my code is a pure .NET Framework application, all seems related to Windows Sockets.&lt;br /&gt;So I had a look at how and when Messenger class closes UDP sockets, but found none. Socket are instanced using an Helper class, but no explicit Close method is called on socket instances &amp;#40;Shutdown is not needed because using connectionless ones&amp;#41;. I modified Messenger class a bit &amp;#40;you can find it attached&amp;#41;.&lt;br /&gt;I&amp;#39;m I missing something&amp;#63; Maybe this is not useful at all&amp;#63;&lt;br /&gt;Just to let you know a bit more about what I&amp;#39;m doing, my windows service is running SNMP tabular queries against many different devices, using a timer for scheduling. Crashes happen after a random amount of time, from 12 hours to 3 days.&lt;br /&gt;</description><author>andreabertolotto</author><pubDate>Fri, 25 Sep 2009 07:18:55 GMT</pubDate><guid isPermaLink="false">Created Issue: How Messenger closes Sockets? [4988] 20090925071855A</guid></item><item><title>Created Issue: Loading an empty mib generates out of memory exception [4978]</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4978</link><description>I downloaded SNMPv2-CONF.mib along with a list of base mibs to load in my application.  The content of SNMPv2-CONF.mib looks as shown below. When loading this mib, the application&amp;#39;s memory usage continues to grow until out of memory exception is thrown.  If i exclude this file, all the other mibs loads properly.  So it looks like DefaultObjectRegistry has problem loading mibs that don&amp;#39;t define any new object.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;-- &amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&lt;br /&gt;&lt;br /&gt;-- SNMPv2-CONF.my&amp;#58;  SNMPv2 Conformance MIB file---- May 1994, Jeffrey T. Johnson---- Copyright &amp;#40;c&amp;#41; 1994,1996 by cisco Systems, Inc.-- All rights reserved.-- -- &amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;&amp;#42;----    This mib was extracted from RFC 1904--    All macro definitions have been removed because they are--    predefined in the mib compilerSNMPv2-CONF DEFINITIONS &amp;#58;&amp;#58;&amp;#61; BEGIN-- everything is predefined in the mib compilerEND&lt;br /&gt;</description><author>lextm</author><pubDate>Thu, 24 Sep 2009 08:31:31 GMT</pubDate><guid isPermaLink="false">Created Issue: Loading an empty mib generates out of memory exception [4978] 20090924083131A</guid></item><item><title>Closed Issue: WSACancelBlockingCall on receiving Inform messages</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4685</link><description>Often get this exception on receiving multiple inform messages&amp;#58;&lt;br /&gt; &lt;br /&gt;A blocking operation was interrupted by a call to WSACancelBlockingCall&lt;br /&gt;&amp;#9;System.Net.Sockets.Socket.SendTo&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP&amp;#41;&lt;br /&gt;&amp;#9;System.Net.Sockets.Socket.SendTo&amp;#40;Byte&amp;#91;&amp;#93; buffer, EndPoint remoteEP&amp;#41;&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.GetResponseMessage.Send&amp;#40;EndPoint receiver, Socket socket&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;GetResponseMessage.cs&amp;#58;line 121&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.InformRequestMessage.SendResponse&amp;#40;IPEndPoint receiver&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;InformRequestMessage.cs&amp;#58;line 107&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.DefaultListenerAdapter.Process&amp;#40;ISnmpMessage message, IPEndPoint sender&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;DefaultListenerAdapter.cs&amp;#58;line 97&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.Listener.HandleMessage&amp;#40;MessageParams param&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;Listener.cs&amp;#58;line 408&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.Listener.HandleMessage&amp;#40;Object o&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;Listener.cs&amp;#58;line 398&lt;br /&gt;&amp;#9;System.Threading._ThreadPoolWaitCallback.WaitCallback_Context&amp;#40;Object state&amp;#41;&lt;br /&gt;&amp;#9;System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;&amp;#9;System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal&amp;#40;_ThreadPoolWaitCallback tpWaitCallBack&amp;#41;&lt;br /&gt;&amp;#9;System.Threading._ThreadPoolWaitCallback.PerformWaitCallback&amp;#40;Object state&amp;#41;&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>lextm</author><pubDate>Fri, 31 Jul 2009 11:10:13 GMT</pubDate><guid isPermaLink="false">Closed Issue: WSACancelBlockingCall on receiving Inform messages 20090731111013A</guid></item><item><title>Commented Issue: WSACancelBlockingCall on receiving Inform messages</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4685</link><description>Often get this exception on receiving multiple inform messages&amp;#58;&lt;br /&gt; &lt;br /&gt;A blocking operation was interrupted by a call to WSACancelBlockingCall&lt;br /&gt;&amp;#9;System.Net.Sockets.Socket.SendTo&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP&amp;#41;&lt;br /&gt;&amp;#9;System.Net.Sockets.Socket.SendTo&amp;#40;Byte&amp;#91;&amp;#93; buffer, EndPoint remoteEP&amp;#41;&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.GetResponseMessage.Send&amp;#40;EndPoint receiver, Socket socket&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;GetResponseMessage.cs&amp;#58;line 121&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.InformRequestMessage.SendResponse&amp;#40;IPEndPoint receiver&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;InformRequestMessage.cs&amp;#58;line 107&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.DefaultListenerAdapter.Process&amp;#40;ISnmpMessage message, IPEndPoint sender&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;DefaultListenerAdapter.cs&amp;#58;line 97&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.Listener.HandleMessage&amp;#40;MessageParams param&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;Listener.cs&amp;#58;line 408&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.Listener.HandleMessage&amp;#40;Object o&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;Listener.cs&amp;#58;line 398&lt;br /&gt;&amp;#9;System.Threading._ThreadPoolWaitCallback.WaitCallback_Context&amp;#40;Object state&amp;#41;&lt;br /&gt;&amp;#9;System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;&amp;#9;System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal&amp;#40;_ThreadPoolWaitCallback tpWaitCallBack&amp;#41;&lt;br /&gt;&amp;#9;System.Threading._ThreadPoolWaitCallback.PerformWaitCallback&amp;#40;Object state&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: lextm ** &lt;p&gt;Now Socket.BeginSendTo is used. Not sure if this resolves the exception, as there is very limited information about such an exception available.&lt;/p&gt;&lt;p&gt;Patch checked in. Will be included in 3.0 beta 2.&lt;/p&gt;</description><author>lextm</author><pubDate>Fri, 31 Jul 2009 11:09:42 GMT</pubDate><guid isPermaLink="false">Commented Issue: WSACancelBlockingCall on receiving Inform messages 20090731110942A</guid></item><item><title>Closed Issue: InformRequestMessage.Parameters always null</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4668</link><description>In current implementation it looks like &amp;#58;&lt;br /&gt;public SecurityParameters Parameters &amp;#123; get &amp;#123; return null&amp;#59; &amp;#125; &lt;br /&gt;&lt;br /&gt;Suppose it should be &lt;br /&gt;public SecurityParameters Parameters &amp;#123; get &amp;#123; return _parameters&amp;#59; &amp;#125;&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>lextm</author><pubDate>Fri, 31 Jul 2009 11:07:43 GMT</pubDate><guid isPermaLink="false">Closed Issue: InformRequestMessage.Parameters always null 20090731110743A</guid></item><item><title>Commented Issue: InformRequestMessage.Parameters always null</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4668</link><description>In current implementation it looks like &amp;#58;&lt;br /&gt;public SecurityParameters Parameters &amp;#123; get &amp;#123; return null&amp;#59; &amp;#125; &lt;br /&gt;&lt;br /&gt;Suppose it should be &lt;br /&gt;public SecurityParameters Parameters &amp;#123; get &amp;#123; return _parameters&amp;#59; &amp;#125;&lt;br /&gt;Comments: ** Comment from web user: lextm ** &lt;p&gt;Also fixed TrapV2Message. Patch checked in. Will be included in 3.0 beta 2.&lt;/p&gt;</description><author>lextm</author><pubDate>Fri, 31 Jul 2009 11:07:14 GMT</pubDate><guid isPermaLink="false">Commented Issue: InformRequestMessage.Parameters always null 20090731110714A</guid></item><item><title>Created Issue: WSACancelBlockingCall on receiving Inform messages</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4685</link><description>Often get this exception on receiving multiple inform messages&amp;#58;&lt;br /&gt; &lt;br /&gt;A blocking operation was interrupted by a call to WSACancelBlockingCall&lt;br /&gt;&amp;#9;System.Net.Sockets.Socket.SendTo&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP&amp;#41;&lt;br /&gt;&amp;#9;System.Net.Sockets.Socket.SendTo&amp;#40;Byte&amp;#91;&amp;#93; buffer, EndPoint remoteEP&amp;#41;&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.GetResponseMessage.Send&amp;#40;EndPoint receiver, Socket socket&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;GetResponseMessage.cs&amp;#58;line 121&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.InformRequestMessage.SendResponse&amp;#40;IPEndPoint receiver&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;InformRequestMessage.cs&amp;#58;line 107&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.DefaultListenerAdapter.Process&amp;#40;ISnmpMessage message, IPEndPoint sender&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;DefaultListenerAdapter.cs&amp;#58;line 97&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.Listener.HandleMessage&amp;#40;MessageParams param&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;Listener.cs&amp;#58;line 408&lt;br /&gt;&amp;#9;Lextm.SharpSnmpLib.Messaging.Listener.HandleMessage&amp;#40;Object o&amp;#41; at SharpSnmpLib&amp;#92;Messaging&amp;#92;Listener.cs&amp;#58;line 398&lt;br /&gt;&amp;#9;System.Threading._ThreadPoolWaitCallback.WaitCallback_Context&amp;#40;Object state&amp;#41;&lt;br /&gt;&amp;#9;System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;&amp;#9;System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal&amp;#40;_ThreadPoolWaitCallback tpWaitCallBack&amp;#41;&lt;br /&gt;&amp;#9;System.Threading._ThreadPoolWaitCallback.PerformWaitCallback&amp;#40;Object state&amp;#41;&lt;br /&gt;</description><author>sergei_m</author><pubDate>Thu, 30 Jul 2009 04:53:19 GMT</pubDate><guid isPermaLink="false">Created Issue: WSACancelBlockingCall on receiving Inform messages 20090730045319A</guid></item><item><title>Commented Issue: InformRequestMessage.Parameters always null</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4668</link><description>In current implementation it looks like &amp;#58;&lt;br /&gt;public SecurityParameters Parameters &amp;#123; get &amp;#123; return null&amp;#59; &amp;#125; &lt;br /&gt;&lt;br /&gt;Suppose it should be &lt;br /&gt;public SecurityParameters Parameters &amp;#123; get &amp;#123; return _parameters&amp;#59; &amp;#125;&lt;br /&gt;Comments: ** Comment from web user: sergei_m ** &lt;p&gt;The same issue with &lt;br /&gt;InformRequestMessage.Scope&lt;/p&gt;</description><author>sergei_m</author><pubDate>Wed, 29 Jul 2009 09:20:26 GMT</pubDate><guid isPermaLink="false">Commented Issue: InformRequestMessage.Parameters always null 20090729092026A</guid></item><item><title>Created Issue: InformRequestMessage.Parameters always null</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4668</link><description>In current implementation it looks like &amp;#58;&lt;br /&gt;public SecurityParameters Parameters &amp;#123; get &amp;#123; return null&amp;#59; &amp;#125; &lt;br /&gt;&lt;br /&gt;Suppose it should be &lt;br /&gt;public SecurityParameters Parameters &amp;#123; get &amp;#123; return _parameters&amp;#59; &amp;#125;&lt;br /&gt;</description><author>sergei_m</author><pubDate>Wed, 29 Jul 2009 09:19:04 GMT</pubDate><guid isPermaLink="false">Created Issue: InformRequestMessage.Parameters always null 20090729091904A</guid></item><item><title>Closed Issue: Querying multiple snmp enabled devices can fail</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4115</link><description>When querying several snmp-enabled devices, if querying one device causes failure &amp;#40;suggest as when it&amp;#39;s off the network&amp;#41;, then subsequent queries to other devices also fail. I&amp;#39;ve attached an example that demonstrates the problem.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>lextm</author><pubDate>Sun, 19 Jul 2009 10:38:37 GMT</pubDate><guid isPermaLink="false">Closed Issue: Querying multiple snmp enabled devices can fail 20090719103837A</guid></item><item><title>Commented Issue: Querying multiple snmp enabled devices can fail</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4115</link><description>When querying several snmp-enabled devices, if querying one device causes failure &amp;#40;suggest as when it&amp;#39;s off the network&amp;#41;, then subsequent queries to other devices also fail. I&amp;#39;ve attached an example that demonstrates the problem.&lt;br /&gt;Comments: ** Comment from web user: lextm ** &lt;p&gt;Unit test cases added. After using sync version of Socket.Receive, we can continue using the old socket object. Please check TestTimeOut case of TestGetRequestMessage.&lt;/p&gt;</description><author>lextm</author><pubDate>Sun, 19 Jul 2009 10:38:20 GMT</pubDate><guid isPermaLink="false">Commented Issue: Querying multiple snmp enabled devices can fail 20090719103820A</guid></item><item><title>Commented Issue: Querying multiple snmp enabled devices can fail</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4115</link><description>When querying several snmp-enabled devices, if querying one device causes failure &amp;#40;suggest as when it&amp;#39;s off the network&amp;#41;, then subsequent queries to other devices also fail. I&amp;#39;ve attached an example that demonstrates the problem.&lt;br /&gt;Comments: ** Comment from web user: ckitching ** &lt;p&gt;I&amp;#39;m experiencing this as well.  The problem appears to be in ByteTool.GetResponse&amp;#40;IPEndPoint, byte&amp;#91;&amp;#93;, int, int, Socket&amp;#41;&lt;/p&gt;&lt;p&gt;It calls Socket.BeginReceive&amp;#40;&amp;#41;, but on timeout, it simply throws an exception without canceling the async request.  Unfortunately, the only supported way to cancel a pending BeginRecieve&amp;#40;&amp;#41; is to call Close&amp;#40;&amp;#41;, which messes with the Messenger.GetSocket&amp;#40;AddressFamily&amp;#41; function that attempts to reuse sockets.  This also means that Messenger is very thread unsafe.&lt;/p&gt;&lt;p&gt;If you need to work around this, I&amp;#39;d suggest just avoiding the SharpSnmpLib.Controls and using the base library directly.  Unless you&amp;#39;re walking the SNMP tree, it&amp;#39;s pretty simple for gets and sets.  Just remember that if you get a timeout, you must close the socket and recreate it.&lt;/p&gt;</description><author>ckitching</author><pubDate>Mon, 15 Jun 2009 04:12:31 GMT</pubDate><guid isPermaLink="false">Commented Issue: Querying multiple snmp enabled devices can fail 20090615041231A</guid></item><item><title>Created Issue: Querying multiple snmp enabled devices can fail</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=4115</link><description>When querying several snmp-enabled devices, if querying one device causes failure &amp;#40;suggest as when it&amp;#39;s off the network&amp;#41;, then subsequent queries to other devices also fail. I&amp;#39;ve attached an example that demonstrates the problem.&lt;br /&gt;</description><author>chrisma</author><pubDate>Wed, 03 Jun 2009 14:37:19 GMT</pubDate><guid isPermaLink="false">Created Issue: Querying multiple snmp enabled devices can fail 20090603023719P</guid></item><item><title>Closed Feature: add trap panel to Browser</title><link>http://sharpsnmplib.codeplex.com/WorkItem/View.aspx?WorkItemId=3708</link><description>This can make it easier to know what traps are captured.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>lextm</author><pubDate>Wed, 03 Jun 2009 11:41:55 GMT</pubDate><guid isPermaLink="false">Closed Feature: add trap panel to Browser 20090603114155A</guid></item></channel></rss>