Last change
on this file since 457 was 457, checked in by coas-nagasima, 4 years ago |
ファイルを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain;charset=UTF-8
|
File size:
1.1 KB
|
Rev | Line | |
---|
[457] | 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 or the Makefile in the 'mingw' subdir.
|
---|
| 5 |
|
---|
| 6 | For both compilers:
|
---|
| 7 | - the lwIP core repository must be in a folder "lwip" next to the "contrib" folder
|
---|
| 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" and "contrib" folders:
|
---|
| 11 | "winpcap\WpdPack"
|
---|
| 12 |
|
---|
| 13 | You also will have to copy the file 'lwipcfg_msvc.h.example' to
|
---|
| 14 | 'lwipcfg_msvc.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.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.