Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 258 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 258 Bytes

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