Time Shield Library
C++ library for working with time
|
Simple NTP client for querying time offset from NTP servers. More...
Go to the source code of this file.
Classes | |
class | time_shield::NtpClient |
Simple Windows-only NTP client for measuring time offset. More... | |
struct | time_shield::NtpClient::ntp_packet |
Структура пакета NTP Total: 384 bits or 48 bytes. More... | |
Namespaces | |
namespace | time_shield |
Main namespace for the Time Shield library. | |
Simple NTP client for querying time offset from NTP servers.
This module provides a minimal client that can query a remote NTP server over UDP and calculate the offset between local system time and the NTP-reported time.
Currently only Windows is supported (WinSock-based implementation).
Definition in file ntp_client.hpp.