darkdust / mhsntp Goto Github PK
View Code? Open in Web Editor NEWSNTP client library for macOS, iOS and tvOS.
License: Other
SNTP client library for macOS, iOS and tvOS.
License: Other
Right now, there is no way to tell whether querying the time offsets has failed for all servers (for example, because the network is down). This might be useful information.
Maybe a state property might be useful for this. It would also help solve a use-case of #1: waiting for the first responses to arrive.
Support for servers in manycast most. See RFC 4330 §2 for a description.
Right now in ClientTests.swift
, when an assertion is triggered in runLocalServerTest
or runLocalServerTestKiss
, it's not obvious which call to these methods failed. This should be improved.
The MHSNTPManager
should probably post a notification once the calculated time offset has changed. This comes at a little cost and I'm not sure whether it's needed at all. Need to come up with a use-case first.
Hey, I found by way here (and by the way, thanks for MHSNTP!) researching / planning a solution to user interference with the system clock.
In that stead, I think instead of using [NSDate date] to keep track of relative time....
(for example...
- (void)locked_query:(MHSNTPManagerEntry *)entry
entry.lastRequestDate = [NSDate date];
)
that it would be better to use this method of calculating system uptime
Support for servers in broadcast most. See RFC 4330 §2 for a description.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.