I just started using pcap.net today. It seems intuitive and straight forward but im getting exceptions when i try to capture packets on my LOCAL network .
my setup :
-wpf 4.0 on Windows 7
-have multiple NICs on my machine.
- have referenced all dlls.
when I get to:
Console.WriteLine("Listening on " + selectedDevice.Description +
I get IO.FileNotFound exception then when I start reading the packets i get another exception every 4 packets " Sockets.SocketException" and "System.Net.WebException". where did I got wrong ? im using the
same code provided on this forum in my project and im getting exceptions . please help ?