Im developing a P2P network, using Synapse for lazarus. I did almost everything, but im unable to find a way to keep a "global" time inside the network, since each user have its own local time (and timestamp) so when they sent a message to the network, i cant imagine how that message could contain a date/time format that every peer could understand. Any idea how it could be implemented?
Asked
Active
Viewed 88 times
0
-
See also https://en.wikipedia.org/wiki/Network_Time_Protocol and https://en.wikipedia.org/wiki/Coordinated_Universal_Time – xmojmr Jun 20 '18 at 05:51
-
1http://wiki.lazarus.freepascal.org/PascalTZ – Abelisto Jun 20 '18 at 07:26
-
Do you just need a common understanding of time independent of timezones or do you need their clocks to be synchronized? Or what exactly is the purpose of time-keeping (e.g. establishing some ordering of events?) – the8472 Jun 20 '18 at 23:33
-
Yes, i need order the events and keep track of the time each one happens, but in a way every member knows when exactly happened. – Pedro Jose Otero Rodriguez Jun 21 '18 at 02:04
-
Any reliable(s) server(s) which offers time or timestamp info via simple http request? – Pedro Jose Otero Rodriguez Jun 26 '18 at 00:44