Codechange: allow different limits in packet sizes

This commit is contained in:
Rubidium
2021-04-18 14:42:06 +02:00
committed by rubidium42
parent 97288bc286
commit 8b302761d4
4 changed files with 23 additions and 14 deletions

View File

@@ -126,7 +126,7 @@ Packet *NetworkTCPSocketHandler::ReceivePacket()
if (!this->IsConnected()) return nullptr;
if (this->packet_recv == nullptr) {
this->packet_recv = new Packet(this);
this->packet_recv = new Packet(this, SEND_MTU);
}
Packet *p = this->packet_recv;