Giter Club home page Giter Club logo

Comments (4)

gavineadie avatar gavineadie commented on July 22, 2024

Please describe more how "it won't work" and how often is "sometimes"?

The network time protocol is a datagram protocol (UDP), you can't change that. If you feel that your network connection is unreliable enough to lose packets on a regular basis, you'll have to keep trying till you get a response from whichever server you are using (by the way, which one are you using?). But modern internet connectivity is usually good enough to ensure that UDP is "reliable" (after all, DNS works for everybody) so I suspect something else is failing.

from ios-ntp.

WXGBridgeQ avatar WXGBridgeQ commented on July 22, 2024

@gavineadie Thanks for your explains, I'm using cn.pool.ntp.org, and the rate of failure maybe 5%. I think it should due to my bad network. Anyway, thanks again.

from ios-ntp.

gavineadie avatar gavineadie commented on July 22, 2024

I see that you are using a 'pool' address. These addresses resolve to multiple actual time servers and which one you get will vary each time. It may be that one of the servers in the pool is not operating (not too unusual for these regional/national pool) and that you sometimes get that one. It would better to chose one specific server that is known to be reliable, or a pool that is probably monitored (time.asia.apple.com ?).

I don't know who generates the regional/national pool lists, how the members are selected, or how often they are monitored or refreshed. I do know the 'americas' pool has had some had some unreliable members when I've used it. The pools are intended to provide a collection (more that ten typically) of servers which are ALL used to contribute to an average, so it doesn't matter if one or two don't work.

from ios-ntp.

WXGBridgeQ avatar WXGBridgeQ commented on July 22, 2024

I really appreciate it, your explain is very clear. Thanks a lot.

from ios-ntp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.