Thanks for all your answers !<br><br>I&#39;ll try to figure something out of roundTripTimeVariance,<br>else I&#39;ll probably implement a ping message.<br><br>Best regards,<br>Julien<br><br><div class="gmail_quote">On Mon, Jan 11, 2010 at 2:40 PM, Ruud van Gaal <span dir="ltr">&lt;<a href="mailto:ruud@racer.nl">ruud@racer.nl</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">It never really is stable, but that&#39;s inherent to any 
network.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">What you need to do in your app is to build some filtering 
in the calculated ping time, so that it can&#39;t change too quickly. You just 
average out and skip seemingly very off values (spikes).</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">Then also, everything you send out should be timestamped 
according to server time, and as clients can also know the ping time (from 
asking the server for example) you can relate server time to client time quite 
precise. Not even needed that the packet reception time is stable, as long as it 
arrives you can relate the packet times back to what it was on the server (every 
server-sent packet contains servertime, and you can deduce other times from that 
using the averaged out ping time).</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">Ruud</font></span></div>
<div dir="ltr" align="left"><span></span> </div><font face="Arial" size="2" color="#0000ff"></font><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div dir="ltr" lang="nl" align="left">
  <hr>
  <font face="Tahoma" size="2"><div class="im"><b>Van:</b> <a href="mailto:enet-discuss-bounces@cubik.org" target="_blank">enet-discuss-bounces@cubik.org</a> 
  [mailto:<a href="mailto:enet-discuss-bounces@cubik.org" target="_blank">enet-discuss-bounces@cubik.org</a>] <b>Namens </b>Jay 
  Sprenkle<br></div><b>Verzonden:</b> Monday, January 11, 2010 14:16<div class="im"><br><b>Aan:</b> 
  Discussion of the ENet library<br></div><b>Onderwerp:</b> Re: [ENet-discuss] When is 
  the ping stable ?<br></font><br></div><div><div></div><div class="h5">
  <div></div>I&#39;m pretty sure ping can be effected by other traffic going through 
  the network and other processes on the boxes so it might not ever be really 
  stable.<br><br>
  <div class="gmail_quote">On Mon, Jan 11, 2010 at 4:15 AM, Uj <span dir="ltr">&lt;<a href="mailto:ujdevil@gmail.com" target="_blank">ujdevil@gmail.com</a>&gt;</span> wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi 
    all,<br>I agree with Ruud :-)<br><br>I changed the subject because another 
    question came to my mind (and I dont want to interfere with Jay&#39;s 
    topic).<br>How do you guys know when the ping is &quot;stable&quot; 
  ?<br></blockquote></div><br></div></div></blockquote></div>
<br>_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br></blockquote></div><br>