Anybody here knows how how to snychronize time -- get the time of the server and synchronize it with the time of the clients??? Can anyone show me how to code it in C? Thanks.
Anybody here knows how how to snychronize time -- get the time of the server and synchronize it with the time of the clients??? Can anyone show me how to code it in C? Thanks.
Sure, what else would you like with your google search results?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Look up ntp
If you want to code it in C, check out UNP (Unix Network Programming). There's basic examples on writing servers and clients, and it wouldn't take much common sense to adapt them to your needs.