Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change default socket buffer size under Windows [closed]

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?

like image 806
Bruno Martinez Avatar asked Sep 24 '13 15:09

Bruno Martinez


1 Answers

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
like image 56
zangw Avatar answered Sep 18 '22 06:09

zangw