[ntp:questions] Getting the version string programmatically ...
David J Taylor
david-taylor at blueyonder.delete-this-bit.and-this-part.co.uk.invalid
Thu Dec 17 07:25:34 UTC 2009
ntpq -c rv
returns a set of data, including the version of NTP in the format:
I would like to retrieve the same information (just the version field)
using a UDP interchange with the server rather than running the ntpq
command. Could anyone advise what the packet I send to the server should
contain, and what I might get back? Perhaps if you could point me to the
right Web page, please?
More information about the questions