Which is why 60Hz is basically an insane network rate. You're still drowning in headers no matter how small you make things. Really, you don't need 60Hz. For objects with predictable trajectories you don't really need more than 20-30Hz. The changes in trajectory don't need to be sent at any particularly rate, and thus are sent out immediately, there doesn't have to be a delay involved.<div>
<br><div class="gmail_quote">On Fri, May 25, 2012 at 9:04 PM, Emmanuel Rivoire <span dir="ltr"><<a href="mailto:manu.n02@laposte.net" target="_blank">manu.n02@laposte.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<div class="im"><br>
<br>
At 22:48 25/05/2012, you wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Perhaps I am wrong, but I believed the overhead for a few bytes within a packet was almost zero.<br>
Here's my logic:<br>
If the packet is smaller than the 1500 byte maximum packet size then the packet will be enlarged and no additional packets will be sent.<br>
10 bytes / 10 megabit per second = 1 microsecond of overhead to serialize the bytes.<br>
A very good network latency is 2 milliseconds.<br>
1 microsecond / 2 milliseconds =  0.05% additional overhead in transmission time<br>
<br>
The only additional overhead I see in the game program is the time to serialize/deserialize the additional bytes.<br>
I can't estimate those since I don't know how your code does this.<br>
<br>
If this is wrong, or overly simplistic, I'd be happy to learn where it's wrong.<br>
</blockquote>
<br></div>
My game is mainly played over Internet, and some people still have only 128kbps of upload, and in real it usually can handle less than that. But even with that the transfer time for 10 bytes isn't too big, the issue isn't really here.<br>

But Internet is a big place with congestion, stalling & packet loss, and to avoid all of that, my guess is it's better to have the smallest packets possible, so I see no reason to send unneeded bytes, especially when it's not so hard to remove them.<br>

<br>
Another issue is that some people have capped download/upload amount per month. So any saved bandwidth is good for them. <br><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/<u></u>mailman/listinfo/enet-discuss</a><br>
</div></div></blockquote></div><br></div>