Improve stability in packet-server mode
Use buffers reported by clients so they can better check their own conditions when determining how to stabilize when outpacing the host.
This commit is contained in:
parent
0e23b900bb
commit
492c83cf2c
3 changed files with 21 additions and 9 deletions
|
|
@ -11,7 +11,7 @@ enum ENetConstants
|
|||
BACKUPTICS = 35 * 5, // Remember up to 5 seconds of data.
|
||||
MAXTICDUP = 3,
|
||||
MAXSENDTICS = 35 * 1, // Only send up to 1 second of data at a time.
|
||||
STABILITYTICS = 12,
|
||||
STABILITYTICS = 17,
|
||||
LOCALCMDTICS = (BACKUPTICS * MAXTICDUP),
|
||||
MAX_MSGLEN = 14000,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue