Hi I have some questions
1.How we can disconnect the client. I want disconnect client when a user has bad internet connection.
Some times disconnect message received with a delay in server side. I close game and it receives after some minutes and some times I get message immediately
and after I upgrade to your new version I can't send any message why? I can just connect
Disconnect event doesn't occur just after the server disconnected. It occurs when the client tries to send or receive a message. (If you don't send or receive anything, you have to wait the socket to send Ping message. The default Ping message interval is 60 secs)
If you send a JSON-formated message, you have to use EmitJson() method. If you send the raw-string message, use Emit() method.
Hi I have some questions 1.How we can disconnect the client. I want disconnect client when a user has bad internet connection.