Click here to Skip to main content
15,893,401 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello,

I am writing server-client application in C#.
I need to make synchronization between server and client.
I need it because every time when the client sends a message to the server, it (the client) has to know what is the exact time now in the server.

Where can I find information about it?

Thanks a lot!
Posted

Why does the client need to know the time on the server? Where is this message being sent to on the server? I would just send the message and let the process on the server tell the time.
 
Share this answer
 
Have a look at this post here[^].

It discusses various way to do this plus recommended practices.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900