lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] tcp sending balance state


From: Kieran Mansley
Subject: Re: [lwip-devel] tcp sending balance state
Date: Fri, 9 Mar 2012 19:44:31 +0000

On 9 Mar 2012, at 08:26, narke wrote:

> Hi,
> 
> How do I get know a pcb is balanced in sending.  By that, I mean, I
> want to know SND.UNA == SND.NXT.  From the pcb struct, however, I
> don't get how to query these status.    Does the pcb->unsent == NULL
> and pcb->unacked == NULL  do the same job?

There isn't an API to do that.  You can look at the fields in the pcb, but 
there is no guarantee that they will remain the same in future versions.  
unsent==NULL and unacked==NULL means everything has been sent and acknowledged 
(which is I think what you want).  

Kieran


reply via email to

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