Indy 9
TLr
See Also, Unit: IdSNTP
NTPGram LongInt storage structure.
TLr = packed record
  L1: byte;
  L2: byte;
  L3: byte;
  L4: byte;
  end;
Unit
IdSNTP
Members
L1: byte;
L1 is used to store the value of byte 1 of 4 bytes in the TLr structure.
L2: byte;
L2 is used to store the value of byte 2 of 4 bytes in the TLr structure.
L3: byte;
L3 is used to store the value of byte 3 of 4 bytes in the TLr structure.
L4: byte;
L4 is used to store the value of byte 4 of 4 bytes in the TLr structure.
Description
The TLr structure is an internal packed record structure used to handle the byte order of LongInt values received in a TNTPGram datagram. TLr is used to flip the order of bytes when TTIdSNTP.DateTime updates the value of Originate, Destination, Transmit, and Receive timestamps.

L1 is used to store the value of byte 1 of 4 bytes in the TLr structure. L2 is used to store the value of byte 2 of 4 bytes in the TLr structure. L3 is used to store the value of byte 3 of 4 bytes in the TLr structure. L4 is used to store the value of byte 4 of 4 bytes in the TLr structure.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.