I had been using DayTime already but it has started to fail of late. I thought it was because they finally shut off daytime, so was looking for something that used the ntp protocol. But as I look deeper into this it appears to be a DNS issue. Somehow when my daytime pipe is attempting to connect to the server, its coming up with an IPV6 address and the connection attempt fails with a network unreachable error. Hmmm. How to get it to use IPV4. Ideas? -- bc
On Thu, Apr 24, 2014 at 9:56 AM, Rob van der Heij <rvdh...@gmail.com> wrote: > Would this do? It does the Daytime Protocol (RFC 867). Rumor is that the > service would be stopped, so you might be better off just doing a 'wget' > for some known time source (that does not clobber it with fancy graphics > making it hard to parse). > > pipe tcpclient 192.43.244.18 13 linger 1 | deblock linend 0a | xlate a2e | > cons > 53108 04-04-13 10:08:46 50 0 0 432.8 UTC(NIST) * > > NTP (RFC 5905) is a bit harder because you really wold have to sit down and > listen for a while to get it right. It's Friday soon ;-) > > > > On 24 April 2014 15:40, Bob Cronin <bob.cro...@gmail.com> wrote: > > > Does anyone have any pipes code that can do this? > > -- > > bc > > >