Charles Landau wrote:
> I'm confused about how to use the procedure tcp_recved().

See doc/rawapi.txt

> There is an example of its use in do_recv() in api/api_msg.c. The
> comment on that procedure says "Recv some data from a RAW or UDP pcb"
> which seems clearly wrong.

Looks like it was incorrectly cut'n'pasted from do_send.

> If someone can explain how to use tcp_recved and what it means for
> storage management, I'll document it at lwip.wikia.com. I don't have the
> authority to update api/api_msg.c.

I've improved the comment:
- * Recv some data from a RAW or UDP pcb contained in a netconn
+ * Indicate data has been received from a TCP pcb contained in a netconn


Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to