ntp Questions
2
Solved
I noticed that if I set my device time manually, and turn off the automatic time sync on my iOS device, [NSDate date] returns the date and time assuming the device time is correct--which it may not...
2
Solved
I've got Ubuntu 16.04 LTS running in a Docker container (hosted on macOS). The date/time is off by about four days.
$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xe...
Paeon asked 11/5, 2017 at 6:22
6
The issue is that System.currentTimeMillis() returns the wrong milliseconds with different ranges of time mainly within the future sometimes up to 6 months, but it varies from a few seconds to mont...
Brune asked 4/8, 2017 at 14:15
6
Solved
All I need is a way to query an NTP Server using C# to get the Date Time of the NTP Server returned as either a string or as a DateTime.
How is this possible in its simplest form?
3
Solved
I have a motherboard with I/O pins and I have written a C library with functions to set and query the status of these I/O pins. Lets say the name of one of these functions is get_pin(int pin_no), a...
Johnette asked 13/2, 2017 at 23:27
2
I have a distributed program written in java. I want my nodes access a synchronized physical clock.
I know NTP is a protocol for physical clock synchronization. I know that I can install it on li...
2
Solved
Is there a windows API that would achieve the equivalent of clicking the "Update now" button in the "Date and time properties"/"Internet time" tab (opened by double clicking the clock in the taskba...
Wordless asked 5/5, 2010 at 9:47
3
2
Solved
I am trying to figure out the best way to convert from epoch seconds (since NTP epoch 1900-01-01 00:00) to a datetime string (MM/DD/YY,hh:mm:ss) without any libraries/modules/external functions, as...
1
Solved
Let say I have code that uses the clock to generate ids. Or I have code that calculates time elapsed since an event happened. Or any other logic that expects system time to only move forwards, neve...
Glaydsglaze asked 28/1, 2016 at 17:48
1
Solved
ntp doesn't want to jump your clock, because discontinuous time jumps are Bad. It wants to adjust your clock gradually -- very gradually. It's very conservative: by default, it won't slew your cloc...
Deprave asked 16/11, 2015 at 23:7
7
Solved
I am writing an application that requires accurate timing. After asking this question, I have decided to investigate using NTP or maybe Simple NTP.
Is there any open source implementation of these...
3
Solved
I've recently known about a gps.conf file in the /system/etc/ directory.
Seems that tweaking NTP_SERVER values to NTP servers nearer to the usual location improves TTFF.
Reading the source code in...
2
Solved
I'm looking for a way to synchronize time between clients with a good precision (let's say 0.5 seconds at least).
I exclude using jsontime or exploiting timestamp in server response headers due to...
Crocodilian asked 12/12, 2011 at 17:20
1
Solved
I was reading NTPv4 rfc to better understand the mechanism used by ntp. So, far the basic idea seems to be simple. But I am a bit confused regarding how NTP Clock Discipline works.
In NTPv4 it says...
5
I am currently working on a license manager using java, I will be specifying a start and end date for my application so I can force a licensed user to re-license the program after a certain a...
Subsistent asked 13/6, 2011 at 8:15
5
I need create an application that validates NTP time synchronization on each machine. In other words, I need to determine if each machine is my LAN is synched to a common time server (stratum). So,...
Acrobat asked 5/4, 2012 at 20:23
3
Solved
i am working with Java and i am making a game. In this game the real time is very essensial part.
For this reason i am trying to get the real time using Ntp.
What i found in the web is this code.
...
1
I am working on an NTP Client. A few other threads indicate that the a message containing "\x1b' + 47 * '\0" is sent to the NTP server, but none of these threads give an explanation about what this...
Unholy asked 14/11, 2014 at 19:56
1
It's about the Network Time Protocol, specified in RFC 5905.
I understand that the Root Delay field of NTPv4 packets (or the Synchronizing Distance field, as it is named in the previous version NTP...
1
After I installed ntpd via yum I run the command systemctl enable ntpd.service and rebooted the computer. After I got the shell prompt I run systemctl -a | grep ntp and I got ntpd.service loa...
1
I'm looking for a programmatic solution that has the same effect as setting the "Configure Windows NTP Client" state in GPOE Administrative Templates > System > Windows Time Service > Time...
1
Solved
I am trying to measure the time elapsed between a message being sent from one machine and it being received by another. Initially I am measuring this in a network of EC2 instances. The EC2 instance...
Counseloratlaw asked 12/1, 2014 at 18:48
1
Solved
Good day,
I am attempting to implement a very basic NTP client just so I can query a remote NTP server (ie: pool.ntp.org) for the internet time to automatically set the time on my Windows developm...
Snowmobile asked 27/12, 2013 at 16:30
2
Solved
I'm making a C++ software that needs to syncronize system clock with remote NTP server.
For now, I'm ussing "system" command to call the console "ntpdate" command.
..But I think is an ugly w...
© 2022 - 2024 — McMap. All rights reserved.