lwip/contrib/ports/win32
2023-10-04 21:42:42 +02:00
..
check win32: check: adjust check config.h to run with newest check library on VS2022 2023-06-29 22:14:36 +02:00
example_app Added warning to cmake instructions when lwipcfg.h isn't present. 2022-12-22 20:42:25 +01:00
include/arch fix some compile problems with mingw 2022-02-12 09:40:32 +01:00
msvc msvc: clean up duplicate use of intermediate directories 2023-10-04 21:42:42 +02:00
Common.mk
Filelists.cmake get cmake to compile under windows with ms cl compiler 2023-01-03 21:34:05 +01:00
pcapif_helper.c win32: pcapif: ensure we can run with npcap as well 2023-06-29 22:11:55 +02:00
pcapif_helper.h win32: pcapif: ensure we can run with npcap as well 2023-06-29 22:11:55 +02:00
pcapif.c win32 pcapif: fix "heap-use-after-free" on shutdown 2023-09-27 21:28:29 +02:00
pcapif.h
readme.txt some documentation fixes after merging contrib and example apps 2022-12-22 21:42:42 +01:00
sio.c PPP: Change data argument in sio_write to const 2020-12-03 09:47:00 +01:00
sys_arch.c Replace C++ comment with standard C comment to avoid error during building with -Werror. 2022-05-09 21:07:14 +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, the CMake files, or the Makefile
in the 'mingw' subdir.

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" folder:
  "winpcap\WpdPack"

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
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.