|
waterlinkedsonar
C++ client library for the Water Linked Sonar 3D-15
|
Single SNTP query, for checking an NTP server's clock. More...
#include <chrono>#include <cstdint>#include <optional>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | waterlinked |
| namespace | waterlinked::sonar |
Functions | |
| std::optional< std::chrono::system_clock::time_point > | waterlinked::sonar::sntp_query (const std::string &server, std::chrono::milliseconds timeout, std::uint16_t port=123) |
| Asks an NTP server for its current time with a single SNTP (RFC 4330) query. | |
Single SNTP query, for checking an NTP server's clock.