I have a separate thread here on this forum in which I'm trying to serve a 1gig file reliably from a web server running on an esp8266.
My web server would be a lot more reliable if the server would wait for the previous TCP segment to be acknowledged before sending the next TCP segment. But in Wireshark you can see that it sends two PSH in a row without an ACK in between. The server's packets are in Yellow and the client's packets are in Red (so all the ACK's are in Red).
So does anyone know how I can check if the previous segment was acknowledged? So then I could do something like:
for ( unsigned i = 0u; i < count_segments; ++i )
{
server.sendContent( data + (payload_size * i), payload_size );
while ( false == server.AllPacketsACK() ) delay(30u);
}