mfontanini / libtins

High-level, multiplatform C++ network packet sniffing and crafting library.
http://libtins.github.io/
BSD 2-Clause "Simplified" License
1.89k stars 374 forks source link

Use 'class Sniffer' on Windows nPcap #464

Open gfzgfz opened 2 years ago

gfzgfz commented 2 years ago

Hi.

I confirmed that Sniffer works normally with my wired LAN. I tried to use Sniffer as loopback (localhost), but the following error occurs in the code below.

code: Sniffer(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

error: Error opening adapter: The system cannot find the device specified. (20)

Is there no way on Windows?

thank you.