lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] netconn_recv sequence


From: Jonathan Larmour
Subject: Re: [lwip-users] netconn_recv sequence
Date: Wed, 31 Oct 2007 10:09:26 +0000
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515)

Ivan Delamer wrote:
Hi All,

New to lwIP, have been searching the list and docs about this but found
no answer. What is the behaviour of netconn_recv when received data
spans multiple netbufs? Will each call to netconn_recv return each
subsequent buffer,

Each call will return one netbuf (containing one chain of the underlying pbufs). You then retrieve the data from the netbuf using the usual functions netbuf_data()/netbuf_next().

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.
------["The best things in life aren't things."]------      Opinions==mine




reply via email to

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