|
From: | Jesper Vestergaard |
Subject: | Re: [lwip-users] POST data using several packets |
Date: | Thu, 25 Jun 2009 21:59:14 +0200 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090409) |
address@hidden wrote:
Jesper Vestergaard schrieb:Where do i set the buffer space?There is no single "buffer space", there are many different options influencing the memory used by TCP. Take a look at opt.h and the explanations there, that should help you finding the right option to tweak.When enabling debug i get a long list of compile errors. src/lwip-1.3.0//src/core/tcp_out.c: In function 'tcp_write':src/lwip-1.3.0//src/core/tcp_out.c:97: error: expected ')' before 'U16_F'src/lwip-1.3.0//src/core/tcp_out.c: In function 'tcp_enqueue':src/lwip-1.3.0//src/core/tcp_out.c:141: error: expected ')' before 'U16_F'so no debug info at the moment.Looks like you don't have the correct defines for debugging. You could take a look at the unix/linux and win32 ports in contrib and compare the port headers to see what you are missing (or have wrong). '
I needed to add: /* Define (sn)printf formatters for these lwIP types */ #define U16_F "hu" #define S16_F "hd" #define X16_F "hx" #define U32_F "lu" #define S32_F "ld" #define X32_F "lx" to my lwipopts.h. ThanksWhen i enable debug LWIP_DEBUG 1 i get no messages. How do i toggle the debug level?
Simon _______________________________________________ lwip-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |