To resolve seconds, you can use time stamping when you receive a packet, but you still need to use a sequence number to block reordered or duplicated packets.
This can make your remote stations less complicated because they won’t need a clock with battery synchronization or synchronization.
For millisecond resolution, you want to calculate the round trip time (RTT) and use this offset for the clock on the receiver.
Unless you use Precision Time Protocol (PTP) in a controlled environment, you can never trust the clock of remote hosts.
source
share