Remove casting of BacnetAsyncResult to IAsyncResult
Add WIP Async method that uses new non-blocking code
Should partly address issues in #46 allowing the library to be used with concurrent queries, as long as invokeId issues are handled externally
Some questions about the changes:
How to deal with breaking changes to the API? The library makes far too many things public, so its impossible to know if any of them are used. Perhaps upping the major version, or keeping changes branched?
ManualResetEvent is used in LastSegmentAck, but in my tests I haven't been able to trigger that codepath
I don't know how well this plays with other transport protocols, I've only extensively tested UDP
Should partly address issues in #46 allowing the library to be used with concurrent queries, as long as
invokeId
issues are handled externallySome questions about the changes:
LastSegmentAck
, but in my tests I haven't been able to trigger that codepathThe package is published temporarily here: https://www.nuget.org/packages/BACnet-fork-yarekt/