开发者

PCap performance

Which c-sharp wrapper of Pcap is fastest? Ho开发者_如何学Gow fast is PCap compared to using sockets?


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).


I believe Pcap.Net is faster than other wrappers since it uses C++/CLI wrapping instead of PInvoke.

In general I've never encountered performance issues with WinPcap (it also depends how you use it).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜