Debian Codegraph @

contrib/ports/win32/readme.txt

raw
1 lwIP for Win32
2
3 This is an example port of lwIP for Win32. It uses WinPCAP to send & receive packets.
4 To compile it, use the MSVC projects in the 'msvc' subdir, the CMake files, or the Makefile
5 in the 'mingw' subdir.
6
7 For all compilers/build systems:
8 - you have to set an environment variable PCAP_DIR pointing to the WinPcap Developer's
9 Pack (containing 'include' and 'lib')
10 alternatively, place the WinPcap Developer's pack next to the "lwip" folder:
11 "winpcap\WpdPack"
12
13 You also will have to copy the file 'contrib/examples/example_app/lwipcfg.h.example' to
14 'contrib/examples/example_app/lwipcfg.h' and modify to suit your needs (WinPcap adapter number,
15 IP configuration, applications...).
16
17 Included in the contrib\ports\win32 directory is the network interface driver
18 using the winpcap library.
19
20 lwIP: http://savannah.nongnu.org/projects/lwip/
21 WinPCap: https://www.winpcap.org/devel.htm
22 Visual C++: http://www.microsoft.com/express/download/
23
24 To compile the unittests (msvc\lwIP_unittests.sln), download check (tested with v0.11.0) from
25 https://github.com/libcheck/check/releases/
26 and place it in a folder "check" next to the "contrib" folder.