Reputation: 531
im having a nightmare of a time trying to get sharp Pcap to send packets happily via multiple instances of ICaptureDevice. The problem is that If i use more than one instance of ICaptureDevice any existing ones will just drop out and no error is thrown. I was wondering if you have any ideas on how to keep all instances of ICaptureDevice work happily. ( If you have had this issue)
Unfortunately I can not provide code examples as this is Proprietary software im building.
I have tried aggregrating all the packets into one queue stream and getting a single ICapDev to send them but i found this to be too slow for the device recieving them at the other end.
Many thanks for any help
Upvotes: 1
Views: 1087
Reputation: 531
Ok i had a talk with Chris - the use of CaptureDeviceList.New()[i] is advised instead of CaptureDeviceList.Instance[i].
Upvotes: 2