|
|
@@ -1,17 +1,17 @@
|
|
|
lwIP for Win32
|
|
|
|
|
|
This is an example port of lwIP for Win32. It uses WinPCAP to send & receive packets.
|
|
|
-To compile it, use the MSVC projects in the 'msvc' subdir or the Makefile in the 'mingw' subdir.
|
|
|
+To compile it, use the MSVC projects in the 'msvc' subdir, the CMake files, or the Makefile
|
|
|
+in the 'mingw' subdir.
|
|
|
|
|
|
-For both compilers:
|
|
|
-- the lwIP core repository must be in a folder "lwip" next to the "contrib" folder
|
|
|
+For all compilers/build systems:
|
|
|
- you have to set an environment variable PCAP_DIR pointing to the WinPcap Developer's
|
|
|
Pack (containing 'include' and 'lib')
|
|
|
- alternatively, place the WinPcap Developer's pack next to the "lwip" and "contrib" folders:
|
|
|
+ alternatively, place the WinPcap Developer's pack next to the "lwip" folder:
|
|
|
"winpcap\WpdPack"
|
|
|
|
|
|
-You also will have to copy the file 'lwipcfg_msvc.h.example' to
|
|
|
-'lwipcfg_msvc.h' and modify to suit your needs (WinPcap adapter number,
|
|
|
+You also will have to copy the file 'contrib/examples/example_app/lwipcfg.h.example' to
|
|
|
+'contrib/examples/example_app/lwipcfg.h' and modify to suit your needs (WinPcap adapter number,
|
|
|
IP configuration, applications...).
|
|
|
|
|
|
Included in the contrib\ports\win32 directory is the network interface driver
|