Do the functions in libpcap and winpcap have identical names?
Do the 开发者_如何学JAVAfunctions in libpcap and winpcap have identical names? If not, what names are different, or are the majority of them different?
Also, can libpcap++ be used for winpcap?
The WinPcap website says:
This library also contains the Windows version of the well known libpcap Unix API.
So it looks like the answer should be they are about the same. As for whether libpcap++ can be used with WinPcap, why don't you give it a quick try and let us know? If it doesn't work, you might look at this: http://www.flexbyte.com/winpcap-cpp-wrapper/
精彩评论