Does windows TCP stack sends ACK when the packet is received by the kernel or after the socket read?

StackOverflow https://stackoverflow.com/questions/21442462

  •  04-10-2022
  •  | 
  •  

Вопрос

I understand that in most UNIX based systems, as soon as the kernel receives the packet it sends the ACK. But would like to know if the behavior is same in windows operating system too. (Windows 7).

Это было полезно?

Решение

The behaviour is the same in all operating systems. It is defined by RFC 793. ACK is performed when (or, in the case of a delayed ACK, after) the data is received by TCP. It has nothing to do with when the application reads.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top