sio.emit is unable to emit messages to the frontend #1387
Unanswered
1337235931
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It's really impossible for me to know what's wrong from a high-level description. I recommend that you start from one of the examples in this repository and once you have it working modify it according to your needs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions