[lwip-users] raw api tcp_write()ing small chunks fills snd_queue

2014-04-09 Thread Sergio R. Caprile
Hi, I need help here. I have this raw api application which tcp_write()s 5 small (~20 bytes) messages and then checks tcp_sndbuf() to send the biggest possible chunk, but it ends up having to send a smaller chunk because an internal queue gets full. My settings are (almost) standard: TCP_MSS = 536

Re: [lwip-users] raw api tcp_write()ing small chunks fills snd_queue

2014-04-10 Thread Simon Goldschmidt
Sergio R. Caprile wrote: > I have this raw api application which tcp_write()s 5 small (~20 bytes) > messages and then checks tcp_sndbuf() to send the biggest possible > chunk, but it ends up having to send a smaller chunk because an internal > queue gets full. Actually, you have to understand TCP_

Re: [lwip-users] raw api tcp_write()ing small chunks fills snd_queue

2014-04-10 Thread Sergio R. Caprile
Thank you Simon, your words now populate the wiki -- ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users