Thanks for all your answers !

I'll try to figure something out of roundTripTimeVariance,
else I'll probably implement a ping message.

Best regards,
Julien

On Mon, Jan 11, 2010 at 2:40 PM, Ruud van Gaal <[email protected]> wrote:

>  It never really is stable, but that's inherent to any network.
> What you need to do in your app is to build some filtering in the
> calculated ping time, so that it can't change too quickly. You just average
> out and skip seemingly very off values (spikes).
>
> 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).
>
> Ruud
>
>
>  ------------------------------
> *Van:* [email protected] [mailto:
> [email protected]] *Namens *Jay Sprenkle
> *Verzonden:* Monday, January 11, 2010 14:16
>
> *Aan:* Discussion of the ENet library
> *Onderwerp:* Re: [ENet-discuss] When is the ping stable ?
>
> I'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.
>
> On Mon, Jan 11, 2010 at 4:15 AM, Uj <[email protected]> wrote:
>
>> Hi all,
>> I agree with Ruud :-)
>>
>> I changed the subject because another question came to my mind (and I dont
>> want to interfere with Jay's topic).
>> How do you guys know when the ping is "stable" ?
>>
>
>
> _______________________________________________
> ENet-discuss mailing list
> [email protected]
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to