Anyone has any idea how do cafe timers work?
How does the server get synced with the client?
Do the client also runs his own timer and only updates when a new time was sent by the server? Or the server constantly sends time info to the client like pinging it?
What is the best solution to keep the server/client synced in their time information and even if the server gets down the client still runs the timer?
THanks for all the Help
Help on Cafe Timer Software Concept
The server will just send updates to the client if only needed.
In my timer, the server will sync every minute to the client pc. It will send how much time is used, the cost of the usage, and also send a request about the program they are using.
If the server is disconnected, the client will run its own timer until the server send an update.
In my timer, the server will sync every minute to the client pc. It will send how much time is used, the cost of the usage, and also send a request about the program they are using.
If the server is disconnected, the client will run its own timer until the server send an update.
[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]