I'm trying to check the ping in milliseconds, look at the result I'm having:
https://prnt.sc/HLyTSh5kXzXR ( (I don't understand why the response is taking many milliseconds according to the screenshot) )
every 5 seconds a message is sent, and the server responds.
every time the message is sent the timer is reset and timed again, when I receive the message from the server, I get the milliseconds with : agk::Getmiliseconds() to get the time in ms that it took until the response reached the client .
Is this the right way to get the ping?