aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-08-05 16:32:20 +0200
committerYang Tse <yangsita@gmail.com>2011-08-05 16:32:20 +0200
commit817b863466fd9812cb7a2305b66a39f2c0c24dbc (patch)
treeff78e6af6d4b5c452c11952e01c16d3040bac24f
parentf6272dd9b8ae8d188068aeb0df2af496a964e407 (diff)
BSD-style lwIP TCP/IP stack support - docs/INSTALL blurb
-rw-r--r--RELEASE-NOTES1
-rw-r--r--docs/INSTALL25
2 files changed, 26 insertions, 0 deletions
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 569e0fc70..b2ac75689 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -12,6 +12,7 @@ This release includes the following changes:
o Added CURLOPT_GSSAPI_DELEGATION
o Added NTLM_SSO support
o Display notes from setup file in testcurl.pl
+ o BSD-style lwIP TCP/IP stack support on Windows
o
This release includes the following bugfixes:
diff --git a/docs/INSTALL b/docs/INSTALL
index 17550dc60..7e2ce9a62 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -467,6 +467,31 @@ Win32
in the vc6libcurl.dsw/vc6libcurl.dsp Visual C++ 6 IDE project.
+ Using BSD-style lwIP instead of Winsock TCP/IP stack in Win32 builds
+ --------------------------------------------------------------------
+
+ In order to compile libcurl and curl using BSD-style lwIP TCP/IP stack
+ it is necessary to make definition of preprocessor symbol USE_LWIPSOCK
+ visible to libcurl and curl compilation processes. To set this definition
+ you have the following alternatives:
+
+ - Modify lib/config-win32.h and src/config-win32.h
+ - Modify lib/Makefile.vc6
+ - Add definition to Project/Settings/C/C++/General/Preprocessor Definitions
+ in the vc6libcurl.dsw/vc6libcurl.dsp Visual C++ 6 IDE project.
+
+ Once that libcurl has been built with BSD-style lwIP TCP/IP stack support,
+ in order to use it with your program it is mandatory that your program
+ includes lwIP header file <lwip/opt.h> (or another lwIP header that includes
+ this) before including any libcurl header. Your program does not need the
+ USE_LWIPSOCK preprocessor definition which is for libcurl internals only.
+
+ Compilation has been verified with lwIP 1.4.0 and contrib-1.4.0 from:
+
+ http://download.savannah.gnu.org/releases/lwip/lwip-1.4.0.zip
+ http://download.savannah.gnu.org/releases/lwip/contrib-1.4.0.zip
+
+
Important static libcurl usage note
-----------------------------------