Acknowledge received message
By replying back. I want to ensure the status was changed successfully. Could be useful to also include in the reply whether the sent command was valid.
UDP is not reliable. You can wait for infinite amount of time for your ack. Is it ok? What use case do you need this for?
On Thu, Apr 9, 2015 at 1:47 PM Sindre Sorhus [email protected] wrote:
By replying back. I want to ensure the status was changed successfully. Could be useful to also include in the reply whether the sent command was valid.
— Reply to this email directly or view it on GitHub https://github.com/tonsky/AnyBar/issues/22.
Is it ok?
I guess I could just time out after x seconds.
What use case do you need this for?
It's normal to want to know if an operation succeeded. Imagine I use AnyBar to indicate whether the test suite passed. I would want to know if the status dot isn't correctly updating.
How about a anybar command that returns the current state
anybar red
anybar status
Outputs "red".