• Advertisement
Sign in to follow this  

time synchronization on server & client

This topic is 2203 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello there.
I've got a float variable that increments every frame on the server. How do I synchronize this value with the timer on the client side since
the client needs this?

Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Not know your specify problem.

If your app is real time, carry that time in every net response. In real time app you of course continuously communicate with the server.
If you app is not real time, sync the time in every reasonable period. 1 second, 5 seconds. 1 minute, whatever. You client needs to remember the time and use local clock to increase the time until next sync.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement