Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直认为 Nagle 的算法会在两个方向上影响套接字,并且该设置TCP_NODELAY以某种方式通知远程端也关闭 Nagle。
TCP_NODELAY
是这样,还是设置TCP_NODELAY只影响调用它的端的行为?
TCP_NODELAY仅影响在其套接字上设置此选项的主机上发送 TCP 段。即对端的发送算法不受影响。