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: narke
Subject: Re: [lwip-devel] tcp sending balance state
Date: Sat, 10 Mar 2012 14:55:35 +0800

On 10 March 2012 03:44, Kieran Mansley <address@hidden> wrote:
>
> 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

Thanks.  I'll used it at least before new API available.



-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (address@hidden)



reply via email to

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