![]() |
API Documentation
|
#include <NtpPacket.h>
Public Attributes | |
| NtpPacketFlags | flags |
| NtpTimestamp | originateTimestamp |
| qint8 | poll |
| qint8 | precision |
| NtpTimestamp | receiveTimestamp |
| qint8 | referenceID [4] |
| NtpTimestamp | referenceTimestamp |
| qint32 | rootDelay |
| qint32 | rootDispersion |
| quint8 | stratum |
| NtpTimestamp | transmitTimestamp |
Mandatory part of an NTP packet
| NtpPacketFlags flags |
Flags.
| NtpTimestamp originateTimestamp |
The time at which the request departed the client for the server.
| qint8 poll |
Maximum interval between successive messages, in log2 seconds. Note that the value is signed.
| qint8 precision |
Precision of the clock, in log2 seconds. Note that the value is signed.
| NtpTimestamp receiveTimestamp |
The time at which the request arrived at the server.
| qint8 referenceID[4] |
Reference identifier (either a 4 character string or an IP address).
| NtpTimestamp referenceTimestamp |
The time at which the clock was last set or corrected.
| qint32 rootDelay |
Round trip time to the primary reference source, in NTP short format.
| qint32 rootDispersion |
Nominal error relative to the primary reference source.
| quint8 stratum |
Stratum of the clock.
| NtpTimestamp transmitTimestamp |
The time at which the reply departed the server for client.