Switch to SocketTaskExtensions
lextm opened this issue · 2 comments
lextm commented
Microsoft introduced a new extension class with important methods to fill in the async/await gaps,
Therefore, this library should make use of this class extensively to replace the previous hacks.
lextm commented
To use that class, the minimal .NET Framework version must be bumped to 4.7.1, and minimal .NET Standard version must be 2.0. Therefore, the library version number is bumped to 12.0.
Initial work can be found at https://www.nuget.org/packages/Lextm.SharpSnmpLib/12.0.0-alpha2/
levant commented
Seems to be fixed now in 12.0.0 which was released recently on February 18, 2020 3:02:30 PM.
My simple test case no longer crashes.