I'm trying to detect if a counter has been reset after a certain number has been reached. For the life of me, I can't figure out a way around this.
Scenario:
Counter increments everytime a server does not respond to a ping. Once counter reaches 7 (and only AT 7), a message is sent.
Once server responds, counter is reset. I am trying to find a way to detect if counter has been reset AFTER reaching 7 on the count.
I'm trying to detect if a counter has been reset after a certain number has been reached. For the life of me, I can't figure out a way around this.
Scenario: Counter increments everytime a server does not respond to a ping. Once counter reaches 7 (and only AT 7), a message is sent. Once server responds, counter is reset. I am trying to find a way to detect if counter has been reset AFTER reaching 7 on the count.