如何安装和使用 WinPcap? [英] How do I install and use WinPcap?
问题描述
我今天去了 winpcap.org,下载了安装程序,并在我的 Windows 7 笔记本电脑上安装了 WinPcap.但是,安装它的文件夹只包含一个安装日志、一个名为 rpcapd.exe 的可执行文件和一个卸载可执行文件.当我运行 rpcapd.exe 时,会出现一个 dos shell:
I went to winpcap.org today, downloaded the installer, and installed WinPcap on my Windows 7 laptop PC. However, the folder where it was installed contains only an installation log, an executable called rpcapd.exe, and an uninstall executable. When I run rpcapd.exe a dos shell appears:
Press CTLR+C to stop the server...
在我按下 CTRL+C 之前什么也没有发生,这会关闭窗口.当我在 Microsoft Visual Studio 中创建一个项目并包含 <pcap.h >,我被告知没有这样的文件或目录.搜索我的电脑没有结果.我试过重新安装几次,但没有新的结果.我在这里错过了什么?
and nothing happens until I press CTRL+C, which closes the window. When I create a project in Microsoft Visual Studio and include < pcap.h >, I'm told there is no such file or directory. A search of my computer yields no results. I've tried reinstalling a couple times but with no new results. What am I missing here?
推荐答案
使用 WinPcap 进行开发需要安装驱动程序和开发人员包.您是否安装了开发者包?
Development with WinPcap requires both the driver install, as well as the developer's pack. Have you installed the developer's pack?
这篇关于如何安装和使用 WinPcap?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!