0
votes

I am using lwip ontop of FreeRTOS to send data to a server. I am trying to maximize the data flow. I tune several paramerters in "lwipopts.h" but I am always receiving ACK after emitting two packets. Thanks for helping

NB: simple echo servers (on linux & windows) gived the same result with high advertised TCP_Window size

1
Have you configured TCP_SND_BUF? This sets a limit on the amount of buffered send data, including the amount of infight data. So even if the receiver is advertising a large window, LwIP won't send more than TCP_SND_BUF worth of unacked dataJoel Cunningham

1 Answers

0
votes

Did you try the TCP_NODELAY option in your sending socket?