[Top][All Lists]

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

[lwip-devel] [bug #22435] lwip_recvfrom with TCP break;

From: Frédéric Bernon
Subject: [lwip-devel] [bug #22435] lwip_recvfrom with TCP break;
Date: Wed, 12 Mar 2008 09:47:48 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20080201 Firefox/

Follow-up Comment #5, bug #22435 (project lwip):

I'm agree that using netbufs for tcp is not a so good solution, so, perhaps
we could add in struct netconn two new fields :

/** A netconn descriptor */
struct netconn {
struct ip_addr tcp_remote_ip;
u16_t          tcp_remote_port;
#endif /* LWIP_TCP */

Since there is most of time only some netconns (less than pbufs), the memory
consume will be lower. And we could initialize these fields only one time at
the connection. More, it will also fix the netconn api.

Else, in a first time for 1.3.0, I could check in the patch like this, and we
could do this change later in post-1.3.0.



Reply to this item at:


  Message posté via/par Savannah

reply via email to

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