Re: [lwip-users] tcp_sent() callback: Called once per sent packet or for multiple packets at once?

2022-02-03 Thread goldsi...@gmx.de
Am 03.02.2022 um 15:51 schrieb Matthias Paul: Hello all, I'm using lwip 2.1.2 in non-OS / non-threaded mode (main loop mode) with raw API to send/receive TCP packets. When sending packets with tcp_write() I'd like to use zero copy mechanism. Therefore I need to keep the pbuf objects until the

[lwip-users] tcp_sent() callback: Called once per sent packet or for multiple packets at once?

2022-02-03 Thread Matthias Paul
Hello all, I'm using lwip 2.1.2 in non-OS / non-threaded mode (main loop mode) with raw API to send/receive TCP packets. When sending packets with tcp_write() I'd like to use zero copy mechanism. Therefore I need to keep the pbuf objects until the buffer has been sent and acknowledged by