Ralph Sennhauser 4faa11a243 Fix MTU negotiation on server side
On connect the MTU sent by the client gets stored and sent back
unchanged if within minimum and maximum of the protocol. Then on verify
connect a test is done if the returned MTU is smaller than the current
MTU and if so gets adjusted. So as long as the MTU is within boundaries
only the client specified MTU is relevant.

This patch adds a check for smaller MTU on server side.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2023-03-10 09:41:55 +01:00
2021-06-13 16:15:37 -04:00
2010-05-13 17:42:55 +00:00
2020-12-19 00:21:42 -05:00
2010-06-09 21:48:46 +00:00
2020-11-15 12:40:57 -05:00
2020-11-15 12:40:57 -05:00
2014-05-11 07:26:52 +03:00
2010-06-09 21:16:23 +00:00
2013-07-08 14:59:05 +03:00
2020-04-16 00:16:10 -04:00
2010-07-29 02:42:28 +00:00
2020-11-15 12:40:57 -05:00
2022-08-12 08:46:05 -04:00
2014-09-07 12:14:10 +03:00
2023-03-10 09:41:55 +01:00
2023-01-08 15:58:31 +01:00
2023-01-08 15:58:31 +01:00

Please visit the ENet homepage at http://sauerbraten.org/enet/ for installation
and usage instructions.

If you obtained this package from github, the quick description on how to build
is:

# Generate the build system.

autoreconf -vfi

# Compile and install the library.

./configure && make && make install


S
Description
Mirror of cgutman/enet (MIT) — reliable UDP networking library, fork used by moonlight-common-c
Readme
766 KiB
Languages
C 97.8%
CMake 1.1%
Lua 0.4%
M4 0.4%
Makefile 0.3%