RevenantX / LiteNetLib

Lite reliable UDP library for Mono and .NET
https://revenantx.github.io/LiteNetLib/index.html
MIT License
3k stars 489 forks source link

Packet fragmentation does not seem to work #532

Closed ZeoWorks closed 8 months ago

ZeoWorks commented 9 months ago

Hi, When sending a reliable packet with a huge amount of data; it seems to not fragment into smaller chunks.

RevenantX commented 9 months ago

@ZeoWorks there is limit for auto fragmentation. MTU 65535 (in case of base MTU 1024 65535 ~ 67mb)

ZeoWorks commented 9 months ago

What about unreliable fragmentation?

RevenantX commented 9 months ago

@ZeoWorks unreliable is not auto-fragmented. It's better to separate packets by hands when you can take some data from one fragment if other fragments lost.

ZeoWorks commented 6 months ago

Hi, does reliable sequence fragment automatically? I do not want a large traffic from reliable, thanks!