[Opensim-users] [Opensim-commits] r2922 - trunk/OpenSim/Region/ClientStack

Adam Frisby adam at gwala.net
Thu Jan 3 13:59:52 UTC 2008


justincc at opensimulator.org wrote:
> -            // for one example of this kind of thing.  So we'll go for a cautious max
> -            // items of 20 which gives a packet size of about 11k

Packet MTU is 1.5KB so 11K is waaay over. I suggest we just switch to a
while total bytes <= 1300 style thing.

Adam

> -            int MAX_ITEMS_PER_PACKET = 20;
> +            // for one example of this kind of thing.  In fact, the Linden servers appear to only send about
> +            // 6 to 7 items at a time, so let's stick with 6
> +            int MAX_ITEMS_PER_PACKET = 6;
>  
>              Encoding enc = Encoding.ASCII;
>              uint FULL_MASK_PERMISSIONS = 2147483647;
> 
> _______________________________________________
> Opensim-commits mailing list
> Opensim-commits at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-commits
> 




More information about the Opensim-users mailing list