I can check lag value when smartfox connect with lag value 80 ~ 300,
but when my internet connection down, that value will not have anymore,
how to check lag value if suddenly connection down?
And how define what value of lag value is belonging as good / bad connection?
How check lag value when internet down
Re: How check lag value when internet down
Dzxyan wrote:I can check lag value when smartfox connect with lag value 80 ~ 300,
but when my internet connection down, that value will not have anymore,
how to check lag value if suddenly connection down?
You can't
If you have no connection there is no way to measure the latency, because latency is measured by sending data, waiting for a reply and calculating the trip time.
And how define what value of lag value is belonging as good / bad connection?
It depends on your game.
A turn based game can work just fine even with 1000-2000ms of delay because it doesn't rely on fast messages. Conversely a fast, real time game (e.g. first person shooter) will start having problems when the latency is > 200ms.
Cheers
Who is online
Users browsing this forum: No registered users and 34 guests