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
  •  | 
  •  

Question

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).

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top