Answer the question
In order to leave comments, you need to log in
How to disconnect a specific client from the server?
Here I have a client connected to the socket server, but I need to disconnect it under a certain condition. There is an option to send a signal to the client about this condition, and the client will disconnect itself. But I think this is a strange decision. Why can't you just disable the client from the server side and that's it? Without closing the page of clients or disconnection on his part?
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question