当内核接收到数据包或读取套接字后,Windows TCP堆栈是否发送ACK? [英] Does windows TCP stack sends ACK when the packet is received by the kernel or after the socket read?

查看:178
本文介绍了当内核接收到数据包或读取套接字后,Windows TCP堆栈是否发送ACK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解在大多数基于UNIX的系统中,内核一旦接收到数据包,便会发送ACK. 但是也想知道在Windows操作系统中行为是否也是相同的. (Windows 7).

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

推荐答案

在所有操作系统中,行为都是相同的.它由RFC 793定义.ACK是在TCP接收到数据时(或在延迟ACK的情况下,之后)执行的.与应用程序读取内容无关.

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.

这篇关于当内核接收到数据包或读取套接字后,Windows TCP堆栈是否发送ACK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆