GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - plusangel/NTP-client: NTP client in C++ (compatible with chrony)

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
chrony
chrony
 
 
include
include
 
 
src
src
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
license.md
license.md
 
 
main.cpp
main.cpp
 
 
readme.md
readme.md
 
 

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

  • UDP Server-Client implementation in C
  • Let's make a NTP Client in C
  • Technical information - NTP Data Packet

useful links for setting up a chrony server in ubuntu

  • Ubuntu Bionic: Using chrony to configure NTP (which works for Xenial as well)
  • rosbee - chrony.wiki

License

MIT

Contributors

Angelos Plastropoulos
Jairo Reyes

About

NTP client in C++ (compatible with chrony)

Topics

chronycplusplusntp

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

36 stars

Watchers

2 watching

Forks

13 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.