how to disconnect (kick) client from server end? #838
-
I'm looking at the doc and it seems like this disconnect function is triggered only when client initiates a disconnect. What is the python-socketio's implementation of server.disconnectSockets? More on this, if server can't proactively kick sockets, how does it prevent multiple clients spamming connections? |
Beta Was this translation helpful? Give feedback.
Answered by
miguelgrinberg
Dec 26, 2021
Replies: 1 comment 3 replies
-
There is no method to disconnect all clients in a single call, but you can disconnect a client, given its |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
sluofoss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no method to disconnect all clients in a single call, but you can disconnect a client, given its
sid
.