This project is read-only.

error when multiple executions communicator.ReceivePackets

Jan 30, 2016 at 1:04 PM
I can not deal with the cause of the error with repeated execution of the next section of code

  OfflinePacketDevice selectedDevice0 = new OfflinePacketDevice (strfile);
  // Open the capture file
     using (PacketCommunicator communicator = selectedDevice0.Open (65536, PacketDeviceOpenAttributes.Promiscuous, 1000))
  PacketCommunicatorReceiveResult packetCommunicatorReceiveResult = communicator.ReceivePackets (0 DispatcherNandler);

The error occurs after the implementation of this section in the cycle each time for 254 iterations.

Thank you in advance.
Feb 5, 2016 at 10:55 AM
Hi SergeyB55,

More details are necessary to help you debug this.
Probably more of the code and the exception content.
Anyways, please post it in Pcap.Net Q&A Group.