lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call


From: Jonathan Larmour
Subject: [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call
Date: Mon, 14 Jan 2008 15:18:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070530 Fedora/1.5.0.12-1.fc5 Firefox/1.5.0.12

Follow-up Comment #8, task #7675 (project lwip):

It looks fine to me - just a few typos and clarity suggestions I would
suggest, hope that's ok:

  indicate that the remote host has closed the connection. The

  callback function should delete the pbuf if it returns ERR_OK,

  else, it should not delete (the core keep it).
->
  indicate that the remote host has closed the connection. If
  there are no errors and the callback function is to return
  ERR_OK, then it must free the pbuf. Otherwise, it must not
  free the pbuf so that lwIP core code can store it.



/* If the upper layer can't received this data, keep it */
->
/* If the upper layer can't receive this data, store it */

/* Data previously received by not yet taken by upper layer */
->
/* Data previously received but not yet taken by upper layer */


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7675>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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