lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] tcp_recved


From: Jonathan Larmour
Subject: Re: [lwip-users] tcp_recved
Date: Wed, 12 Nov 2008 19:13:39 +0000
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

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




reply via email to

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