python-socketio
python-socketio copied to clipboard
sio.emit is unable to emit messages to the frontend
Discussed in https://github.com/miguelgrinberg/python-socketio/discussions/1387
Originally posted by 1337235931 September 19, 2024 I created the server with socketio.Server(), but after I called the function method in the while loop or if test, I used the sio.emit() method to send a message to the client, but the client could not receive the message from the server. I am sure the sio.emit() code passed. Even with a breakpoint in front of sio.emit(), the client still won't receive the message. I'm not sure if the server-side sio.emit didn't send the message or if the client didn't receive the message.
Please don't spam the issues board. One question in the discussions board is enough.