Hello! guys
I am a begginer in network security programming.
When I compile my code in VC++ compiler,
the following error was generated:

--------------------Configuration: test - Win32 Debug--------------------
Compiling...
test.cpp
E:\Documents and Settings\Emzy\test.cpp(2) : fatal error C1083: Cannot open include file: 'pcap.h': No such file or directory
Error executing cl.exe.
test.obj - 1 error(s), 0 warning(s)

what should I do?
with best regards

Search pcap.h in you computer and add the path in visual C++ include path.

Hi ITHelp,
I have pcap.h in one of my folders
and it still generates the same error

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.