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.
我想知道当我通过setsockopt API改变一个socket的SND_BUF时,TCP层原来的窗口大小会相应改变吗?
它不会改变,因为它是接收窗口大小,而SO_SNDBUF控制发送缓冲区的大小。
SO_SNDBUF