login about faq

Can I use Chilkat components to query an NTP server?
I want to sync a local computer date/time with a specified NTP server.

asked Oct 04 at 20:31

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

edited Oct 04 at 20:31


Yes and no. This example demonstrates using Chilkat Socket to connect to an NIST time server and (using the old Time Protocol (RFC 868)), will read the current GMT time.

Note: This is not necessarily the very best means for getting the current date/time. The most commonly used time protocol is the Network Time Protocol (RFC-1305).

https://www.example-code.com/delphiDll/socket_nist_time_server.asp

My guess is that you'd want the newer NTP protocol, which I think is a bit more complicated..

link

answered Oct 04 at 20:38

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×14
×1

Asked: Oct 04 at 20:31

Seen: 62 times

Last updated: Oct 04 at 20:38

powered by OSQA