Einzelnen Beitrag anzeigen

Kas Ob.

Registriert seit: 3. Sep 2023
436 Beiträge
 
#62

AW: schnelle Server Client Verbindung ohne Verluste

  Alt 8. Apr 2025, 15:00
Better screenshot to point the values and the how the receiving window shrank with each recv
2025-04-08-16_47_40-_adapter-loopback-traffic-capture.jpg

Notice the server has adjusted its receiving window to the exact received length after the client performed the full send, this is one perk of the Windows TCP stack, dynamically resize, even it wasn't needed, but taking it as this socket had received this then it can handle it again, on other side the window size sent by the client in the ACK, was shrinking until depletion, so server stopped sending and put the socket in not ready to send state, and it will wait until something from the client namely ACK ( being alone or combined with packet) to resume the socket state.

Also this behavior in the screenshot is on loopback, and it is different in few details when the NIC (Network Adapter and its driver) involved.
Kas
  Mit Zitat antworten Zitat