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