lwip-devel
[Top][All Lists]
Advanced

[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:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

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 {
...
#if LWIP_TCP
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.

Comments?



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?22435>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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