Answer the question
In order to leave comments, you need to log in
Python-socketio is a simple server-client. Should sio.wait() work?
Hello. I'm learning websockets. Copy-pasted a simple client-server from the python-socketio documentation. It works, there is a connection between the server and the client. Next, I added a separate process to the server to send a message to the client from the keyboard. And now the message does not come to the client) I would not like to bother you with the code, but there is a question. In the main thread of the client, after the connection, sio.wait() works:
async def main():
await sio.connect('http://localhost:8080/')
await sio.wait()
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