lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Callback API, tcp unacked fills


From: Oleg Terentiev
Subject: [lwip-users] Callback API, tcp unacked fills
Date: Mon, 21 Mar 2022 16:50:01 +0700

Hello, All.
I try to use LwIP (oh... 1.4.1) for embedded, tcp client in callback mode. Stream is 128000 bytes /sec, MCU has 200 kiB memory total.
I have wrote code, it started ok. But it stops after some time with message
> memp_malloc: out of memory in pool PBUF_POOL
I tried find problem, tcp_pcb -> unacked grows before stop.
How to tell LwIP resend unacked data?  How to check filled / awailable PBUFs total? How to set timeout for ACK (which value of lwipopts.h )?
 
PS: LwIP send usually about 10..18 MiB before stop.
--- 
best regards, Oleg aka Hoks.

reply via email to

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