lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Removing the restriction on number of sockets


From: Simon Goldschmidt
Subject: Re: [lwip-devel] Removing the restriction on number of sockets
Date: Tue, 8 Aug 2017 06:36:27 +0200

Joel Cunningham wrote:
> It may be worth noting that there aren’t existing example of “static” versus 
> “dynamic” implementations
> of data structures within LwIP.

I should add: there *is* one example of static allocation: the sockets array. 
And I don't really like it :-)

However, given the (dumb) standard that says sockets should be an int (I guess 
because the first implementers
used an array index?), this is currently a good solution, given the fact that 
our memp pools also allocate
the memory at compile time...


Simon



reply via email to

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