This library is deprecated.

Dependents:   HTTPClientStreamingExample HTTPClientExample HTTPServerExample HTTPServerHelloWorld ... more

Files at this revision

API Documentation at this revision

Comitter:
donatien
Date:
Fri Jun 18 10:28:59 2010 +0000
Parent:
2:eb30029f2fe0
Child:
4:9cec8b1dcf09
Commit message:

Changed in this revision

LPC1768/EthernetNetIf.ar Show annotated file Show diff for this revision Revisions of this file
LPC1768/if/lwip/LwipNetIf.h Show annotated file Show diff for this revision Revisions of this file
LPC1768/if/lwip/lwipNetDnsRequest.h Show annotated file Show diff for this revision Revisions of this file
LPC1768/lwip/lwipopts.h Show annotated file Show diff for this revision Revisions of this file
LPC2368/EthernetNetIf.ar Show annotated file Show diff for this revision Revisions of this file
LPC2368/if/lwip/LwipNetIf.h Show annotated file Show diff for this revision Revisions of this file
LPC2368/if/lwip/lwipNetDnsRequest.h Show annotated file Show diff for this revision Revisions of this file
LPC2368/lwip/lwipopts.h Show annotated file Show diff for this revision Revisions of this file
Binary file LPC1768/EthernetNetIf.ar has changed
--- a/LPC1768/if/lwip/LwipNetIf.h	Fri Jun 18 09:34:41 2010 +0000
+++ b/LPC1768/if/lwip/LwipNetIf.h	Fri Jun 18 10:28:59 2010 +0000
@@ -50,6 +50,7 @@
 
 private:
   Timer m_tcpTimer;
+  Timer m_dnsTimer;
   
   bool m_init;
 
--- a/LPC1768/if/lwip/lwipNetDnsRequest.h	Fri Jun 18 09:34:41 2010 +0000
+++ b/LPC1768/if/lwip/lwipNetDnsRequest.h	Fri Jun 18 10:28:59 2010 +0000
@@ -61,8 +61,6 @@
   //Static callbacks : Transforms into a C++ callback
   static void sFoundCb(const char *name, ip_addr_t *ipaddr, void *arg);
   
-  static void dnsTick();
-  
   bool m_closing;
 };
 
--- a/LPC1768/lwip/lwipopts.h	Fri Jun 18 09:34:41 2010 +0000
+++ b/LPC1768/lwip/lwipopts.h	Fri Jun 18 10:28:59 2010 +0000
@@ -113,7 +113,7 @@
 #if TARGET_LPC1768
 
 
-#define MEM_SIZE               5000 //2000
+#define MEM_SIZE               3000 //2000
 
 ///
 
@@ -182,14 +182,14 @@
 
 /* TCP Maximum segment size. */
 //#define TCP_MSS                 1024
-#define TCP_MSS                   1024//0x276//536//0x276
+#define TCP_MSS                   1024//536//0x276
 
 /* TCP sender buffer space (bytes). */
-#define TCP_SND_BUF             2048//2048
+#define TCP_SND_BUF             2048
 
 /* TCP sender buffer space (pbufs). This must be at least = 2 *
    TCP_SND_BUF/TCP_MSS for things to work. */
-#define TCP_SND_QUEUELEN        (8 * TCP_SND_BUF/TCP_MSS)//(4 * TCP_SND_BUF/TCP_MSS)
+#define TCP_SND_QUEUELEN        (2 * TCP_SND_BUF/TCP_MSS)
 
 /* TCP writable space (bytes). This must be less than or equal
    to TCP_SND_BUF. It is the amount of space which must be
Binary file LPC2368/EthernetNetIf.ar has changed
--- a/LPC2368/if/lwip/LwipNetIf.h	Fri Jun 18 09:34:41 2010 +0000
+++ b/LPC2368/if/lwip/LwipNetIf.h	Fri Jun 18 10:28:59 2010 +0000
@@ -50,6 +50,7 @@
 
 private:
   Timer m_tcpTimer;
+  Timer m_dnsTimer;
   
   bool m_init;
 
--- a/LPC2368/if/lwip/lwipNetDnsRequest.h	Fri Jun 18 09:34:41 2010 +0000
+++ b/LPC2368/if/lwip/lwipNetDnsRequest.h	Fri Jun 18 10:28:59 2010 +0000
@@ -61,8 +61,6 @@
   //Static callbacks : Transforms into a C++ callback
   static void sFoundCb(const char *name, ip_addr_t *ipaddr, void *arg);
   
-  static void dnsTick();
-  
   bool m_closing;
 };
 
--- a/LPC2368/lwip/lwipopts.h	Fri Jun 18 09:34:41 2010 +0000
+++ b/LPC2368/lwip/lwipopts.h	Fri Jun 18 10:28:59 2010 +0000
@@ -113,7 +113,7 @@
 #if TARGET_LPC1768
 
 
-#define MEM_SIZE               5000 //2000
+#define MEM_SIZE               3000 //2000
 
 ///
 
@@ -182,14 +182,14 @@
 
 /* TCP Maximum segment size. */
 //#define TCP_MSS                 1024
-#define TCP_MSS                   1024//0x276//536//0x276
+#define TCP_MSS                   1024//536//0x276
 
 /* TCP sender buffer space (bytes). */
-#define TCP_SND_BUF             2048//2048
+#define TCP_SND_BUF             2048
 
 /* TCP sender buffer space (pbufs). This must be at least = 2 *
    TCP_SND_BUF/TCP_MSS for things to work. */
-#define TCP_SND_QUEUELEN        (8 * TCP_SND_BUF/TCP_MSS)//(4 * TCP_SND_BUF/TCP_MSS)
+#define TCP_SND_QUEUELEN        (2 * TCP_SND_BUF/TCP_MSS)
 
 /* TCP writable space (bytes). This must be less than or equal
    to TCP_SND_BUF. It is the amount of space which must be