Re: sntpclock: warning: unable to read clock: timed out

[email protected] (Paul Jarc) Tue, 14 Dec 2004 11:11:54 -0500
Newsgroups gmane.comp.lib.libtai
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
derik DeVecchio <[email protected]> wrote:
> bin 19:28:50 > ./sntpclock `dnsip time.nist.gov` | ./clockview
> sntpclock: warning: unable to read clock: timed out
> before: 2004-12-13 19:29:03.629084000000000000
> after:  2004-12-13 19:28:57.053052999865002930

- sntpclock sends a query
- time.nist.gov doesn't respond
- sntpclock reports the timeout
- sntpclock sends a second query
- time.nist.gov responds
- sntpclock calculates the offset from the local clock

To see what happens when a server doesn't respond at all, try
"sntpclock 127.0.0.1" or some other address that isn't running an NTP
server.


paul