I have two computers connected to each other over an ad-hoc wifi. How can I make the first computer always sync to the time of the second computer?
I tried playing with NTP, but could not figure out how to make it work in this situation.
This question came from our site for professional and enthusiast programmers.
You'll need to install an NTP server on one of the computers and then modify the NTP settings on the other computer to look to that NTP server for it's time.