NtpPacket Class
Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9119)
Represents a NTP packet.
Syntax
public class NtpPacket
Inherited Members
Remarks
See RFC 1305 for the packet specification. Note that this implementation does not use any optional fields.
Properties
Name | Description |
---|---|
Destination |
Destination Timestamp: the time at which the reply arrived at the client. |
Leap |
Returns the leap second indicator. |
Mode | NTP packet mode. |
Originate |
Originate Timestamp: the time at which the request departed the client for the server. |
Poll | Poll Interval, in seconds to the nearest power of two. |
Precision | Precision of the packet originator's clock, in seconds to the nearest power of two. |
Receive |
Receive Timestamp: the time at which the request arrived at the server. |
Reference |
Reference Timestamp: the time at which the local clock was last set or corrected. |
Stratum | Stratum level (time quality) of the packet originator's clock. |
Transmit |
Transmit Timestamp: the time at which the reply departed the server for the client. |
Version |
NTP/SNTP protocol version number. |
Methods
Name | Description |
---|---|
Get |
Reference Identifier. |
Get |
Root Delay. |
Get |
Root Dispersion. |
To |
Accessor for the raw packet data. |