lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] Dying listener sockets - Email found in subject


From: Tamas Somogyi
Subject: RE: [lwip-users] Dying listener sockets - Email found in subject
Date: Tue, 9 Feb 2010 15:43:16 -0000

Hi,

First of all, thanks very much to Stéphane for the quick help.
It seems indeed that upgrading lwIP to CVS head and specifying 
MEMP_NUM_NETCONN= MEMP_NUM_TCP_PCB+ MEMP_NUM_TCP_PCB_LISTEN solves the problem 
on both platforms for my test application.

However I still have to fine-tune the constants in lwipopts.h to get it work in 
my real application on the target platform where there are strict limitations 
for resources (threads, memory, speed, etc.). E.g. it is not fully clear to me 
that MEMP_NUM_NETCONN should equal to MEMP_NUM_TCP_PCB+ 
MEMP_NUM_TCP_PCB_LISTEN+ MEMP_NUM_UDP_PCB+ MEMP_NUM_RAW_PCB? E.g. 
lwip_sanity_check() complains if it is more and suggest to specify less (and 
not equal?) - so how does it affect the behaviour/performance?

I try to narrow down the changes to find the root problem, but I cannot promise 
(quick) result as there are many differences (1.3.0<->CVS head, platforms, 
constants).

Tamas

PS: when compiling CVS head, I can see many warnings related to conversion from 
int to u16_t

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Simon Goldschmidt
Sent: 08 February 2010 11:58
To: Mailing list for lwIP users
Subject: RE: [lwip-users] Dying listener sockets - Email found in subject


Kieran Mansley wrote:
> It would be very useful to know what change was responsible for this.  I
> don't recall any modifications since 1.3.2 that would obviously have
> this effect.

There have been some (2 I think?) bugs in this area, but I only remember this 
one: https://savannah.nongnu.org/bugs/?26672

Although I'm not sure whether that could have been the problem here... It would 
indeed be interesting if you two could find the source of the problem.

Simon
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser


_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users




reply via email to

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