Time synchronization over crossover cable

chimera123

New Member
Hello!

I'm synchronizing the time of two computers:

I've connected two computers with a crossover cable and adjusted the settings. When i try the ping command (32 bytes of data) it takes less than 1ms to receive the response.

So i use the "net time \\COMPUTER_NAME /set /yes" command to sync the time of one pc with another.

My questions:

If the 32 byte package (when pinging) takes less than 1ms, should the time stamp take even less? How accurate is this?

Thank you for any help,

regards

Klemen

p.s. since one of my computers doesn't have c++ (or similar program) installed i don't know any other way to check the accuracy, so i used a millisecond batch program on both computers and tried to capture screen simultaneously and there was only 10 ms difference (i know this is completely unaccurate method to precisely determine, but still...). any suggestions how to check the accuracy with a more precise method?
 
Last edited:
So i did the following:

i created a batch file

net time \\192.168.0.1 /set /yes
echo %time% > time.txt
net time \\192.168.0.1 /set /yes >> time.txt
echo %time% >> time.txt


which i run on my "slave" computer and get the following times (an example):

start 15:24:15,70
end 15:24:15,86.

So this is a 160 ms difference between the program execution and program end. If this is so, then the actual time stamp from the "master" takes half as long (80 ms) to return to the "slave".

Any thoughts? Am i understanding this the wrong way?

Thank you.
 
Back
Top