Thanks again, only is for achiving memory, because i don´t know about my problem, i hope to understand about the crash of application. I ´m going to write a lot of variables to see the different to receive for a port working and a port don´t work!! I´ll tell you the result.
Oscar On Mon, Oct 5, 2009 at 1:29 PM, Kieran Mansley <[email protected]> wrote: > On Mon, 2009-10-05 at 11:49 +0200, Oscar F wrote: > > another thing,i would like reduce the amount of memory, maybe the > > reason of the problem is that. > > I use TCP coonection with socket, need 8 socket the can yuo say me > > that define of lwipops.h can i reduce and forgot, for example RAW > > option? > > > /* Number of raw connection PCBs */ > > #define MEMP_NUM_RAW_PCB 1 > > You can set that to zero for you application. > > Everything else looks like it's set so it should just about work, but > won't give great performance (TCP needs memory to get good performance). > There certainly isn't anything that looks like it's set too high. > > The best way to deal with these settings is to set them high enough that > it works, then once you've got your application sorted using the lwIP > stats to see which resources aren't being heavily used, and tune the > settings accordingly. Don't try and optimise your application before > you've got it working. > > Kieran > > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
