1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

Increase network buffer to maximum packet size of 64 KiB

This commit is contained in:
Matt
2020-08-12 18:36:12 +02:00
parent ebc2be4cd0
commit 08af1e9be6

View File

@@ -18,7 +18,7 @@
# include "network.h"
constexpr size_t NETWORK_DISCONNECT_REASON_BUFFER_SIZE = 256;
constexpr size_t NetworkBufferSize = 1024;
constexpr size_t NetworkBufferSize = 1024 * 64; // 64 KiB, maximum packet size.
NetworkConnection::NetworkConnection()
{