mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
+proper buffer size for udp socket
SkypeLog: 28.02.2015 [17:18:32] Dušan Jocic: when creating user datagram protocol or UDP, old implementation was limiting lan utalization to 1% of our modern 1000Mbps hardwar [17:19:15] Dušan Jocic: that add proper buffer size for udp socket [17:19:43] Dušan Jocic: and lift off limitation what was present there for 10/100 mbps lan
This commit is contained in:
parent
1c580f5a5f
commit
cd686a23b3
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ bool Net::openPort(S32 port, bool doBind)
|
|||
}
|
||||
|
||||
if(error == NoError)
|
||||
error = setBufferSize(udpSocket, 32768);
|
||||
error = setBufferSize(udpSocket, 32768*8);
|
||||
|
||||
if(error == NoError && !useVDP)
|
||||
error = setBroadcast(udpSocket, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue