lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] tcp_recved


From: Charles Landau
Subject: Re: [lwip-users] tcp_recved
Date: Thu, 13 Nov 2008 09:54:39 -0800
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Jonathan Larmour wrote:
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

Thanks.
I've updated http://lwip.wikia.com/wiki/Raw/native_API and added new pages with information on UDP and TCP from doc/rawapi.txt, including some corrections. Feel free to review for accuracy and update.




reply via email to

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