S
S
Sazoks2021-04-12 09:20:08
Flask
Sazoks, 2021-04-12 09:20:08

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

1 answer(s)
S
Sergey Gornostaev, 2021-04-12
@Sazoks

https://python-socketio.readthedocs.io/en/latest/a...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question