mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 06:00:33 +01:00
network: fix NET_MAX_FRAGMENT limit
This commit is contained in:
parent
c8be38e75d
commit
538d8a6fb4
@ -42,7 +42,7 @@ GNU General Public License for more details.
|
|||||||
#define NET_MAX_PAYLOAD MAX_INIT_MSG
|
#define NET_MAX_PAYLOAD MAX_INIT_MSG
|
||||||
|
|
||||||
// Theoretically maximum size of UDP-packet without header and hardware-specific data
|
// Theoretically maximum size of UDP-packet without header and hardware-specific data
|
||||||
#define NET_MAX_FRAGMENT 65536
|
#define NET_MAX_FRAGMENT 65535
|
||||||
|
|
||||||
// because encoded as highpart of uint32
|
// because encoded as highpart of uint32
|
||||||
#define NET_MAX_BUFFER_ID 32767
|
#define NET_MAX_BUFFER_ID 32767
|
||||||
|
Loading…
Reference in New Issue
Block a user