Get the App
SLTechnology News&Howtos  ›  Network Security  › 

WinPcap gets the list of devices

Shulou Source: shulou.com Published: 2022-06-01 06:54:00 10月03日 Update

Experimental process

1. Open Microsoft Visual Studio 2010, click "File"-- "New"-- "Project", select "win32 console Application" and set the project name.

2. Click "Project-- > * * attributes (alt+F7) configuration Properties-- > inventory tool-- > input and output-- > embed list-- > No"

3. "Project-- > * * attributes (alt+F7) configuration Properties-- > Cmax Cleavage colors-- > General-- > additional inclusion directories-- > include folder"

4. "Project-- > * * Properties (alt+F7) configuration Properties-- > Linker-- > General-- > additional Library Directory-- > lib folder"

5. "Project-- > * * attributes (alt+F7) configuration properties-- > linker-- > input-- > additional dependencies-- > supplement'; Packet.lib;wpcap.lib'"

6. "Project-- > * * attribute (alt+F7)"

Configuration properties-- > Candlestick colors-- > preprocessor-- > preprocessor definition-- > supplement'; HAVE_REMOTE' "

7. Copy the code into the editor and click start.

Tags: Properties projects configurations files attachments general folders listings directories links input preprocessing code tools applications console programs editors procedures experiments Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia vpn MySQL OPPO Reno Linux