Have a look at Internet time servers.
These are used by Windows (and other OSs) to sync the PC clock.
Looks quite complicated but also seems a bit like what you are trying to do.
nick.crane
Nearly a Posting Virtuoso
1,230 posts since Feb 2010
Reputation Points: 375
Solved Threads: 187