socket.IO-objc
socket.IO-objc copied to clipboard
Acknowledgment timeout
I understand that _acks is keeping track of acknowledgement's and that they are removed from _acks as soon as an acknowledgement successfully comes back from the server in the onData method.
- What happens when acknowledgement's aren't sent back from the server, due to communication errors or busy server?
- Will they stay forever in the _acks dictionary?
- Should a timed method clean up old acknowledgements based on a timeout and inform the user about it?
- Should we be able to set the timeout per connection or per message?
Suggestions welcome!