send/recv ethernet frame on windows using C++
is there any windows library / kernel-mode driver (with usermode API) in C/C++ which I can use to send/recv ethernet frame without IP 开发者_Go百科(only use mac address).
I heard about winpcap, is there any lighter library or wrapper to winpcap which has simple open(), close(), send(), recv() function?
On unix there is hping http://www.hping.org/ and mausezahn http://www.perihel.at/sec/mz/ but I don't know if any of those compiles under windows. All applications/libraries I know are based on libpcap/winpcap.
精彩评论