Skip to content

plusangel/NTP-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTP client

This is a C++ class that implements a NTP client. It has been tested with a chrony server. I have also included a sample of my chrony.conf file where I have setup a local server and client for my experiments.

build

First create an empty directory inside your working folder:

mkdir build && cd build

and then

cmake ..

and

cmake --build .

Optional, if you want to install:

make install DESTDIR={YOUR_INSTALLATION_PATH}

By default, the installation path is /usr/local/

licence

Part of the code has been based to C NTPClient by David Lettier

useful links for understanding the client internals

useful links for setting up a chrony server in ubuntu

License

MIT

Contributors

Angelos Plastropoulos
Jairo Reyes

About

NTP client in C++ (compatible with chrony)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published