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: Leon Woestenberg
Subject: Re: [lwip-users] TCP performance in receiving
Date: Fri, 08 Oct 2004 18:20:29 +0200
User-agent: Mozilla Thunderbird 0.7.1 (Windows/20040626)

Hello Kieran,

K.J. Mansley wrote:

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()?

No objections from my side. Do we have clear definitions of the TF_ACK_* flags?

Regards,

Leon.

Kieran



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

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