lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #23559] lwip_recvfrom problem with tcp


From: Frédéric Bernon
Subject: [lwip-devel] [bug #23559] lwip_recvfrom problem with tcp
Date: Sun, 13 Jul 2008 13:39:17 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15

Follow-up Comment #1, bug #23559 (project lwip):

I'm not sure to understand:

if "socket->lastdata!= NULL", this part of the code (the "if (!buf)..." ) is
not called. It is only call when "socket->lastdata==NULL": in this case, we
have to fetch a netbuf with netconn_recv. If this last call returns NULL, it
could be :

- due to a RCVTIMEO, or
- due to an error.

But in this case, but perhaps I'm wrong, it's not right to return "off"
(since no data is returned).


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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