lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Recv en socket TCP


From: Kieran Mansley
Subject: Re: [lwip-users] Recv en socket TCP
Date: Mon, 05 Oct 2009 12:29:12 +0100

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]