lnobad / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

How to prevent message fragmentation? #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, I've tried out your library, and am wondering if you could please 
elaborate a bit on how to prevent message fragmentation.

When I did some testing I noticed corruption due to what appeared to be message 
fragmentation, and I see that there is an open issue on unreliable fragments.

How can i gurentee no fragmentation?  I assume it has to do with the MTU?  is 
there some other data you can provide on fragmentation and avoiding it?

Thank you, 
-Jason

Original issue reported on code.google.com by jas...@novaleaf.com on 31 Jul 2011 at 8:57

GoogleCodeExporter commented 9 years ago
Yes, keep your messages below the current MTU to avoid message fragmentation by 
the library. IP fragmentation is invisible to both the library and application.

Original comment by lidg...@gmail.com on 19 Aug 2011 at 12:36