You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| check | 8 years ago | |
| example_app | 8 years ago | |
| include/arch | 5 years ago | |
| msvc | 8 years ago | |
| Common.mk | 8 years ago | |
| Filelists.cmake | 8 years ago | |
| pcapif.c | 8 years ago | |
| pcapif.h | 12 years ago | |
| pcapif_helper.c | 11 years ago | |
| pcapif_helper.h | 11 years ago | |
| readme.txt | 8 years ago | |
| sio.c | 8 years ago | |
| sys_arch.c | 5 years ago | |
readme.txt
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.
For both compilers:
- the lwIP core repository must be in a folder "lwip" next to the "contrib" folder
- 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:
"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,
IP configuration, applications...).
Included in the contrib\ports\win32 directory is the network interface driver
using the winpcap library.
lwIP: http://savannah.nongnu.org/projects/lwip/
WinPCap: https://www.winpcap.org/devel.htm
Visual C++: http://www.microsoft.com/express/download/
To compile the unittests (msvc\lwIP_unittests.sln), download check (tested with v0.11.0) from
https://github.com/libcheck/check/releases/
and place it in a folder "check" next to the "contrib" folder.