ok, i need to synchronise two devices down to the nearest millisecond, they are connected over a network, i can get the current time from the device in milliseconds.
i know there is a simple answer im just being silly.
I was thinking something along the lines of device A sends its current time to device B, device B sends the time received and its current time back to A and A works out the difference and adds it to its time. but this doesnt garauntee synchronisation of the clocks. as it will depend on how long it took to connect which can be as short as 1 second and as long as 10 seconds in either direction (its an unreliable network).
some clever monkey please help me


LinkBack URL
About LinkBacks
Reply With Quote
