-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS-ntp returning same value as device #43
Comments
What time host are you using? If it doesn't exist or doesn't respond, you'll get this behavior. Remember that NTP is a UPD (datagram) protocol; unlike TCP it is not obliged to report network errors so your application will need to deal with them. |
not able to get network time it always shows device time. |
What time host are you using? The default is NO host and this behavior. |
I was having same problem, I solved it by placing below method call in But it introduced a new problem, First time I was able to fetch correct network time, but as soon as application went in background and came to foreground same issue arises. I am using this host in ntp.hosts file in.pool.ntp.org |
iOS-ntp returning same value as device, when i change device time network time change as well please help what m i missing? as i check didReceiveData not get called in NetAssociation.
The text was updated successfully, but these errors were encountered: