Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PCap performance

Which c-sharp wrapper of Pcap is fastest? How fast is PCap compared to using sockets?

like image 984
bsobaid Avatar asked May 28 '26 03:05

bsobaid


1 Answers

SharpPcap is appropriate both for capture (sniffing) and transmission (similar to UdpClient and TcpClient). I've used it in an application for high-performance UDP transmission and it could be tweaked to be significantly faster than UdpClient (there are examples of high-perf sending in the source).

like image 102
Pat Avatar answered May 30 '26 21:05

Pat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!