lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip 1.3.2 using POST


From: Kieran Mansley
Subject: Re: [lwip-users] lwip 1.3.2 using POST
Date: Thu, 24 Nov 2011 19:54:12 +0000

On 24 Nov 2011, at 07:53, 賴育德 wrote:

> Why pbuf-> len = 0?
> pbuf-> len length not be equal to the pbuf-> tot_len it?
> how can I do?

pbuf->len is the length of this pbuf.  pbuf->tot_len is the sum of the lengths 
of this pbuf and all those chained together to form a packet using pbuf->next. 

Having pbuf->len=0 is a bit odd though.  Is this for a received packet or one 
you are sending?  Is there another pbuf linked by pbuf->next?  If so, what is 
its length?

Kieran


reply via email to

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