If a message is too big to be sent as a datagram, fall back to
sending it on the stream. However, also increase the maximum datagram size. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5670 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -60,7 +60,7 @@ public class Client
|
||||
public static final int[] DEFAULT_DATAGRAM_PORTS = { };
|
||||
|
||||
/** The maximum size of a datagram. */
|
||||
public static final int MAX_DATAGRAM_SIZE = 1500;
|
||||
public static final int MAX_DATAGRAM_SIZE = 8192;
|
||||
|
||||
/** Our default maximum outgoing message rate in messages per second. */
|
||||
public static final int DEFAULT_MSGS_PER_SECOND = 10;
|
||||
|
||||
Reference in New Issue
Block a user