diff --git a/a2s/a2sstream.py b/a2s/a2sstream.py index 3c55fcb..ad42bd1 100644 --- a/a2s/a2sstream.py +++ b/a2s/a2sstream.py @@ -57,7 +57,7 @@ class A2SStream: self._socket.sendto(packet, self.address) def recv(self): - packet = self._socket.recv(4096) + packet = self._socket.recv(65535) header = packet[:4] data = packet[4:] if header == HEADER_SIMPLE: