Codechange: differentiate between UDP, TCP and compatibility MTU values

This commit is contained in:
Rubidium
2021-04-18 14:49:39 +02:00
committed by rubidium42
parent 8b302761d4
commit d6000c2ec5
8 changed files with 20 additions and 18 deletions

View File

@@ -56,7 +56,7 @@ private:
public:
Packet(NetworkSocketHandler *cs, size_t limit, size_t initial_read_size = sizeof(PacketSize));
Packet(PacketType type, size_t limit = SEND_MTU);
Packet(PacketType type, size_t limit = COMPAT_MTU);
static void AddToQueue(Packet **queue, Packet *packet);
static Packet *PopFromQueue(Packet **queue);