lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip fails for full duplex communication


From: Kieran Mansley
Subject: Re: [lwip-users] lwip fails for full duplex communication
Date: Mon, 21 May 2012 21:53:05 +0100

It looks to me like you have 16 pbufs, each of size 256 bytes.  Your TCP_WND is 
2048, so you can have 2KB of data received and waiting for your application 
before the other end will stop sending.  Your TCP_SND_BUF is 6KB, so you can 
have that much sent by your application waiting to go onto the wire.  In total, 
this makes 8KB of buffering, but you only have enough pbufs to hold 4KB (16 * 
256).  I think this is why you're running out.

Kieran


reply via email to

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