I downloaded the WinPcap Developer's Pack (http://www.winpcap.org/devel.htm), but I'm having problems getting any of their examples to work. For example, I loaded basic_dump.c, compiled as a console app, but the pcap-bpf.h generates all kinds of errors.
Am I missing some sort of compiler options, or is there something else I need to do?
-Thad
It seems that Pcap used the symbol WIN32 as target def, while PellesC uses _WIN32. To solve the problem try to define the symbol "WIN32" in project options->compiler->define preprocessor symbols.