寻找跨平台的数据包捕获库

时间:2022-11-29 12:14:21

beside wincap , is there any recommended cross platform Packet Capture Library to use with c/c++ ? Thanks

在wincap旁边,有没有推荐的跨平台数据包捕获库与c / c ++一起使用?谢谢

2 个解决方案

#1


You can use the "pcap" interface. Unix like system implement this interface with libpcap and Winpcap on windows.

您可以使用“pcap”界面。类Unix系统在windows上用libpcap和Winpcap实现这个接口。

http://en.wikipedia.org/wiki/Pcap

#2


Packet Capture Tools: http://www.hunch.com/performance-troubleshooting-with-packet-captures/

数据包捕获工具:http://www.hunch.com/performance-troubleshooting-with-packet-captures/

#1


You can use the "pcap" interface. Unix like system implement this interface with libpcap and Winpcap on windows.

您可以使用“pcap”界面。类Unix系统在windows上用libpcap和Winpcap实现这个接口。

http://en.wikipedia.org/wiki/Pcap

#2


Packet Capture Tools: http://www.hunch.com/performance-troubleshooting-with-packet-captures/

数据包捕获工具:http://www.hunch.com/performance-troubleshooting-with-packet-captures/