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.
time synchronization on server & client
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement