Codechange: allow different limits in packet sizes
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user