lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TCP performance in receiving


From: K.J. Mansley
Subject: Re: [lwip-users] TCP performance in receiving
Date: 08 Oct 2004 13:55:47 +0100

On Fri, 2004-10-08 at 11:35, Atte Kojo wrote:
> This is because tcp_recved() only does an ack if there are no acks 
> pending (delayed or otherwise):

Well spotted.

> if (!(pcb->flags & TF_ACK_DELAY) &&
>      !(pcb->flags & TF_ACK_NOW)) {
>      /* ... comment deleted ... */
>      tcp_ack(pcb);
> }
> 
> This effectively nullifies the tests in tcp_ack() in this case.

That needs changing: any objections to me removing those checks in
tcp_receive()?

Kieran





reply via email to

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