<p dir="ltr">The incidence of packets being dropped or malordered skyrockets once packets start to fragment. It becomes the other way that the moment you fragment your packets just stop getting through in a useful fashion. So for better or worse I made the decision that packets by default force reliability once they fragment to combat this. This was much later allowed to be overridden by the unreliable fragment flag. Love it or hate it, this is how the library behaves and the knobs now exist for you to change it with flags. I have no plans to change it, sorry </p>
<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 28, 2024, 16:29 Чёрный Думер <<a href="mailto:bdmailb@gmail.com">bdmailb@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good day everyone,<br>
<br>
Could somebody please explain to me the reasoning behind the<br>
ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT flag?<br>
<br>
Why isn't this the default behavior for large unreliable packets<br>
exceeding the MTU?<br>
<br>
Do I understand correctly that without this flag, large unreliable<br>
packets become de facto reliable? In my opinion, this violates the<br>
principle of least astonishment, but I also think I'm probably missing<br>
something important.<br>
<br>
Thanks in advance.<br>
<br>
P.S. I apologize for sending this letter in MIME HTML format first time:<br>
<a href="http://lists.cubik.org/pipermail/enet-discuss/2024-June/002501.html" rel="noreferrer noreferrer" target="_blank">http://lists.cubik.org/pipermail/enet-discuss/2024-June/002501.html</a><br>
Yandex.Mail sucks.<br>
_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@puremagic.com" target="_blank" rel="noreferrer">ENet-discuss@puremagic.com</a><br>
<a href="https://lists.puremagic.com/mailman/listinfo/enet-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.puremagic.com/mailman/listinfo/enet-discuss</a><br>
</blockquote></div>