lwip/contrib/ports/win32
Simon Goldschmidt 7c10065bd2 Revert "Try to implement platform-independent keypressed()"
This reverts commit a0d7b01186.

The new 'keypressed()' wasn't platform-independent but broke
the win32 port.

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-13 16:26:25 +02:00
..
check Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
example_app Document CMake build system 2018-10-08 22:17:03 +02:00
include/arch Revert "Try to implement platform-independent keypressed()" 2018-10-13 16:26:25 +02:00
msvc Add new files to msvc projects 2018-10-12 20:32:34 +02:00
Common.mk Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
Filelists.cmake Try to get CMake build running on travis 2018-10-13 10:45:58 +02:00
pcapif_helper.c Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
pcapif_helper.h Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
pcapif.c Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
pcapif.h Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
readme.txt Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
sio.c Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
sys_arch.c Revert "Try to implement platform-independent keypressed()" 2018-10-13 16:26:25 +02:00

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.