Simple example is killing my wifi connection

Jan 24, 2015 at 4:37 PM
That is the code:
        static void Main(string[] args)
            IList<LivePacketDevice> allDevices = LivePacketDevice.AllLocalMachine;

            if (allDevices.Count == 0)
                Console.WriteLine("No interfaces found.");

            LivePacketDevice device = allDevices[0];

            using (PacketCommunicator communicator = device.Open(65536, PacketDeviceOpenAttributes.Promiscuous, 1000))
                communicator.ReceivePackets(0, PacketHandler);

        private static void PacketHandler(Packet packet)
            Console.WriteLine(packet.Timestamp.ToString("yyyy-MM-dd hh:mm:ss.fff") + " length:" + packet.Length);
When I start the application it seems to do exactly what it is supposed to do.
But after a wile (often just a few seconds)
I cant connect to any web page
and i can't even ping to my router. ("no response, request time out")

to fix that I have to stop the application, disconnect my wifi-connection and reconnect to my router.

I do not have this problem when I use winpcap for c/c++ or Wireshark.

It seems like pcapdotnet is somehow overstraining my wifi card...

Any ideas how to solve that?
Jan 29, 2015 at 7:51 AM
Do you have the same problem in NonPromiscuous mode?
Jan 30, 2015 at 7:05 AM
What happens when you simply try to use Wireshark instead?
What happens when you remove the Console.WriteLine() statement, and use a counter instead?