Page 1 of 1

How to get an users's ping in smartfox?

Posted: 11 Apr 2010, 12:58
by rjgtav
Hi guys. Is there a smart fox function that allows the user to receive his ping?

I'm using as 2.0

Posted: 12 Apr 2010, 07:03
by Lapo
Your question is not very clear to me, anyways the API expose a method called roundTripBench() which "pings" the server and measures the lag time (client to server and back)

Posted: 12 Apr 2010, 17:41
by rjgtav
thanks Lapo. that's exactly what i was looking for

Posted: 14 May 2010, 00:04
by -Fantastic-
Lapo wrote:Your question is not very clear to me, anyways the API expose a method called roundTripBench() which "pings" the server and measures the lag time (client to server and back)
How would you write this done as a text?