Click or drag to resize

NtpPacketReferenceId Property

Gets the ID of the time source used by the server or Kiss-o'-Death code sent by the server.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public uint ReferenceId { get; }

Property Value

UInt32

ID of server's time source or Kiss-o'-Death code. Purpose of this property depends on value of Stratum property.

Stratum 1 servers write here one of several special values that describe the kind of hardware clock they use.

Stratum 2 and lower servers set this property to IPv4 address of their upstream server. If upstream server has IPv6 address, the address is hashed, because it doesn't fit in this property.

When server sets Stratum to special value 0, this property contains so called kiss code that instructs the client to stop querying the server.

See Also