The only reason I know for getting disconnected is not sending PONG correctly, but I don’t think I can find any problems with your code.
The only reason I know for getting disconnected is not sending PONG correctly, but I don’t think I can find any problems with your code.