Skip to content

ax4/time-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Time Sync Server

Just a demo of Cristian's algorithm.

Sent Time = Remote Time - RTT / 2
Received Time = Remote Time + RTT / 2

Read the comments for details.

Setup

npm install socket.io
nodejs server.js

License

MIT

About

A simple time sync server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 46.2%
  • Python 40.1%
  • JavaScript 13.7%