ping timeout?
For now, there seems no reference on client-side ping sending, will cause disconnection with laravel-echo-server.
You can use this PR https://github.com/socketio/socket.io-client-cpp/pull/157
You can use this PR #157
Thx. But my problem is the default behavior of this lib will not send ping to server, in which case will cause disconnection with laravel-echo-server. So I had to run a client-side ping thread to maintain connection.
Hi @captainwong from the protocol documentation on disconnect detection (https://socket.io/docs/v4/how-it-works/#disconnection-detection) it should be the server the one sending the pings and the client responding.