i trying to synchronize two apps.
How can i get the server time of any server with an accuracy up to 1ms? or maybe just 10ms?
i tried this some SNTP Clients, but they give me only my destination time or only with an accuracy up to 1s.
Pls help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to configure your SNTP client to follow a time server out there. There are 2 ways to sync your time. SLAM, or SLEW.
SLAM, just takes the server time and throws it on the client.
SLEW, takes the server time and corrects your client time, over the next few minutes.
In your case, I suggest that, as your application loads, use SLAM.
In the uxix, netware world, there were utilities like
ntpdatefor slaming, andntpdfor slewing.SNTP is the way to go, these clients have been around for like 15 years now, so its very stable. Infact new development stopped like 8 years back. So it ought to be very stable. Just take more time and configure it right.
sntp android