Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
NpcapDevice SharpPCAP exception SOMETIMES #1861
Right now I'm working on a C# .net core app that will concurrently playback multiples PCAPs using packet queues. I'm using the latest nmap release with the latest master of SharpPCAP. I've got each playback in a separate thread (using the Task/async framework in C#).
Sometimes, it works fine. I have had instances where my tool was able to run 10 concurrent playbacks. But a lot of the time, I get an exception, right at start of playbacks. Please see the attached screenshot. It's weird that it's so intermittent.
Please let me know if you need any more data. I'll post up my read/playback method later today, if you think that'll help.