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

做~自己de王妃 提交于 2019-12-24 05:28:50

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/21442462/does-windows-tcp-stack-sends-ack-when-the-packet-is-received-by-the-kernel-or-af

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!