lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TCP Send Queue


From: Kieran Mansley
Subject: Re: [lwip-users] TCP Send Queue
Date: Mon, 17 Mar 2003 10:57:29 +0000 (GMT)

On Fri, 14 Mar 2003, Zschocke, Florian wrote:

> Hi all!
>
> I was wondering what the limit on the TCP send queue was for. It limits the
> number of pbufs that the send queue can have. What is the reasoning behind
> this? Would it make more sense to limit the number of segments that the
> queue can have?
>
> What resource is the limiting factor that sets the limit for the length of
> the queue?

It would probably make most sense to limit the amount of data on the queue
rather than the number of pbufs.  The queue is there to deal with the
difference in size between application writes() and what is efficient for
the TCP stack to send.  As long as it is long enough to deal with this it
doesn't matter too much whether or not it uses the number of pbufs or
whatever to regulate it.

Kieran





reply via email to

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