I have a question regarding the performance of Pcap.Net vs other capture libs (ie. SharpPcap or native Delphi magenta PCap) ?
Correct me please, but my understanding is:
SharpPCap = pInvoke = slower
Delphi = native dll = should be fast (like c/c++)
Pcap.NET is C++/.Net wrapper = faster than pInvoke, but how close to native ???
My question is...
I would like to setup 2x NICS.. Listening on both and forwarding packets from Card 1-> Card2 and Card2 -> Card 1 (i.e. Home made bridge that I can tamper data/rechecksum etc).
I have this working on SharpPCap and on Delphi.. The delphi one is significantly faster than the SharpPcap version.. They are both prototypes. I would like to stick with C# if I can get better performance.
What sort of rate could I successfully capture/send/etc in Pcap.Net ? Can I handle a 24Mbit/s stream ? Will it capture without loss at 100Mbits/s ? (ie typical ethernet speeds.. I gather 1GBit/s would require a WinpCap card etc.)
Any info in this regard greatly appreciated.