Open pdematteis opened 1 year ago
Seems like a nice addition for windows targets. However the platform is still crappy from a real-time perspective. And also there is the real risk new versions of windows might kill this path to transmit raw ethernet packets.
That's mainly for debug and develop purposes. Regarding Npcap, I think it will survive to Windows restrictions somehow, since I can't imagine a network debug environment without Wireshark :-)
Since WinPcap is no more supported and deprecated, add support for Npcap. wpcap.dll should be delayed loaded and C:\Windows\System32\Npcap directory should be added to the search path. No other changes are needed.
CMakeLists.txt : add linker flags
simple_test.c : add the following code