0

I have some machines (linux) on ntp setup. they are running some apps (c++ written) that talk to each other. I need the app A of machine A to get ntp information from machine B through app B. What is the best way to do so?

I mean some ntp information like if/in case the clocks are out of sync

Thank you.

1 Answers1

-1

I used ntp_gettime() from sys/timex.h.

REF: http://manpages.ubuntu.com/manpages/hardy/man2/ntp_gettime.2.html