We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3d9bc0 commit aa7357fCopy full SHA for aa7357f
1 file changed
Core/GameEngine/Include/GameNetwork/NetworkDefs.h
@@ -68,6 +68,9 @@ static constexpr const Int MAX_LANAPI_PACKET_SIZE = RESTRICTED_UDP_PAYLOAD;
68
#if RETAIL_COMPATIBLE_NETWORKING
69
static constexpr const Int MAX_PACKET_SIZE = RESTRICTED_UDP_PAYLOAD;
70
static constexpr const Int MAX_MESSAGE_LEN = 1024;
71
+#elif defined(GENERALS_ONLINE)
72
+static constexpr const Int MAX_PACKET_SIZE = MAX_UDP_PAYLOAD;
73
+static constexpr const Int MAX_MESSAGE_LEN = 1104;
74
#else
75
static constexpr const Int MAX_PACKET_SIZE = MAX_UDP_PAYLOAD;
76
static constexpr const Int MAX_MESSAGE_LEN = MAX_UDP_PAYLOAD;
0 commit comments