Assign a seq number to each ping/pong and track it since in some cases the latency can exceed a ping cycle; track that and close out connections that don't respond in >10s. Helpful to avoid a big backlog queue of outgoing messages on server if the client is unable to handle it due to bandwidth or cpu
Assign a seq number to each ping/pong and track it since in some cases the latency can exceed a ping cycle; track that and close out connections that don't respond in >10s. Helpful to avoid a big backlog queue of outgoing messages on server if the client is unable to handle it due to bandwidth or cpu