The server works rather well but there are flaws. In particular, there is no timeout, a client can block the server simply by opening a TCP connection...
I had started the implementation of a timeout system but it is far from operational, as I tried to solve inter-programs communication issues...
The server function is called periodically, at an unknown frequency. The caller/main function must call the server with one parameter that is set, every second, so the server can update its internal counters.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.