在 Windows 下更改默认套接字缓冲区大小 [英] Change default socket buffer size under Windows
本文介绍了在 Windows 下更改默认套接字缓冲区大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法更改的应用程序正在丢弃一些传入的 UDP 数据包.我怀疑接收缓冲区溢出.是否有注册表设置使默认缓冲区大于 8KB?
An application I cannot change is dropping some incoming UDP packets. I suspect that the receive buffer is overflowing. Is there a registry setting to make the default buffer larger than 8KB?
推荐答案
来自 this一>要设置 Windows 的默认大小,请使用以下 DWORD
注册表项:
From this
To set the default size of the Windows use the following DWORD
registry keys :
[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet\Services\Afd\Parameters]
DefaultReceiveWindow = 10240
DefaultSendWindow = 10240
这篇关于在 Windows 下更改默认套接字缓冲区大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文