Net: Don't send large unreliable packets by reliable fragmentsmaster
commit8588b7c95416f44e70773a7fc8f2cff890911889
authorDmitry D. Chernov <blackdoomer@yandex.ru>
Wed, 26 Jun 2024 18:58:37 +0000 (27 04:58 +1000)
committerDmitry D. Chernov <blackdoomer@yandex.ru>
Sat, 29 Jun 2024 15:23:34 +0000 (30 01:23 +1000)
tree7c6b8c015b97114868acb8c91a30ed2219b38d40
parent3bf2ad73286b3cc02a546662762ec7b0d36fcd35
Net: Don't send large unreliable packets by reliable fragments
http://lists.cubik.org/pipermail/enet-discuss/2024-June/002503.html
It seems that by default ENet just wants to behave as nicely as possible, and therefore packets without flags are unreliable if they fit in the MTU, and reliable otherwise.

See also this:
https://github.com/nxrighthere/ENet-CSharp/blob/6e3d4e48/README.md?plain=1#L229
https://github.com/insthync/ENetForUnity/blob/bde64ed4/ENetCS/PacketFlags.cs#L30-L34
https://docs.zer7.com/enetcs/ENet~ENet.PacketFlags.html
http://lists.cubik.org/pipermail/enet-discuss/2011-June/001777.html
src/game/g_net.pas