Skip to content
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

Setting the server url #4

Open
kikz4life opened this issue Nov 13, 2013 · 1 comment
Open

Setting the server url #4

kikz4life opened this issue Nov 13, 2013 · 1 comment

Comments

@kikz4life
Copy link

Hi just want a question. What if I want to use this server url: pool.ntp.org to get the ntp time. Can this be done in your socket-ntp?

thanks,

@calvinfo
Copy link
Owner

hey, unfortunately no, not really :(

the main point of this library is to keep track of the clock offset between the client and server. it could be useful for things like gaming -- I was using it to sync audio between a bunch of different clients all connected to the same server.

as such, it doesn't use the official ntp protocol, just a stand-in to calculate the difference between client and server times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants