Thank you for your answer! Yes, I tried hard, but it is still not clear to me.
I understand that there is a window after which an ACK is required to continue sending packets. So, I set: #define TCP_WND 8576 #define TCP_SND_BUF 2144 While #define TCP_MSS 536 Four packets should fit in the send buffer and the TCP_WND is high enough. Please note that my client shall only send data packets. I do not care about receiving. It still waits for ACK after each transmitted packet. Does something else come to your mind? As for TCP_WND_UPDATE_THRESHOLD, this is only relevant for receiving, as far as I understood. Thanks, Adrian -----Ursprüngliche Nachricht----- Von: lwip-users [mailto:[email protected]] Im Auftrag von Sergio R. Caprile Gesendet: Monday, June 26, 2017 8:28 PM An: [email protected] Betreff: Re: [lwip-users] Raw TCP Client - wait for ACK after each packet causes slowdown Have you read the docs ? the wiki ? you can pump into the buffer as much as it fits into the buffer. TCP can send as much as its window allows, and will certainly need ACKs to keep sending thereafter. http://lwip.wikia.com/wiki/Raw/TCP -- Sergio R. Caprile, Human Being, Bs.As., Argentina http://www.scaprile.ldir.com.ar/ _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
