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: Simon Goldschmidt
Subject: [lwip-devel] [bug #23559] lwip_recvfrom problem with tcp
Date: Tue, 10 Feb 2009 21:01:34 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6

Update of bug #23559 (project lwip):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

Cui, since you did not go into detail on Frédéric's questions and I think
Frédéric is right here, I'm closing this as invalid.

Please feel free to correct me.

Here's how I see it with your example:
- 7000 bytes are received
- sock->lastdata points to that netbuf
- 4096 bytes are copied to user memory, sock->lastoffset=4096

- next call to recvfrom
- sock->lastdata is != NULL
- 2904 bytes are copied to user memory,
- sock->lastdata is set to NULL, sock->lastoffset is set to 0

Can't see a problem here.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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