2007-11-23 21:06:07 +00:00
|
|
|
lwIP for Win32
|
|
|
|
|
|
|
|
This is a quickly hacked port and example project of the lwIP library to
|
2008-04-26 11:21:14 +00:00
|
|
|
Win32/MSVC9.
|
2007-11-23 21:58:46 +00:00
|
|
|
|
|
|
|
It doesn't (yet?) include support for dhcp, autoip, slipif, ppp or pppoe. This
|
|
|
|
is simply because none of the active developers using this port are using these
|
|
|
|
interfaces right now.
|
2007-11-23 21:06:07 +00:00
|
|
|
|
2007-11-23 21:58:46 +00:00
|
|
|
To get this compiling, you have to set a couple of environment variables:
|
|
|
|
- LWIP_DIR: points to the main lwip tree (the folder where is the CHANGELOG file).
|
|
|
|
- PCAP_DIR: points to the WinPcap Developer's Packs (containing 'include' and 'lib')
|
2007-11-23 21:06:07 +00:00
|
|
|
|
2007-11-23 21:58:46 +00:00
|
|
|
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,
|
2008-04-26 11:12:50 +00:00
|
|
|
IP configuration, applications...).
|
2007-11-23 21:06:07 +00:00
|
|
|
|
|
|
|
Note that you also have to set the PCAP_DIR environment variable to point
|
|
|
|
to the WinPcap Developer's Packs (containing 'include' and 'lib').
|
|
|
|
|
2007-11-23 21:58:46 +00:00
|
|
|
Included in the contrib\ports\win32 directory is the network interface driver
|
|
|
|
using the winpcap library.
|
2007-11-23 21:06:07 +00:00
|
|
|
|
2007-11-23 21:58:46 +00:00
|
|
|
lwIP: http://savannah.nongnu.org/projects/lwip/
|
2007-11-23 21:06:07 +00:00
|
|
|
WinPCap: http://netgroup-serv.polito.it/winpcap/
|
2010-02-09 16:41:27 +00:00
|
|
|
|
|
|
|
To compile the unittests, download check (tested with v0.9.8) from
|
|
|
|
http://sourceforge.net/projects/check/
|
|
|
|
and place it in a folder "check" next to the "contrib" folder.
|