mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 03:29:19 +02:00
tweak packet sizes
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
namespace network::tcp
|
namespace network::tcp
|
||||||
{
|
{
|
||||||
const uint32_t NETWORK_MAGIC = 0x37305545;
|
const uint32_t NETWORK_MAGIC = 0x37305545;
|
||||||
const uint32_t MAX_MSG_SIZE = 10000;
|
const uint32_t MAX_MSG_SIZE = 100000;
|
||||||
|
|
||||||
class connection : public network::connection
|
class connection : public network::connection
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace network
|
|||||||
friend class client;
|
friend class client;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const int CATCHUP_PACKETS = 500;
|
const int CATCHUP_PACKETS = 300;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
std::queue<
|
std::queue<
|
||||||
|
|||||||
Reference in New Issue
Block a user