Replies: 1 comment
-
Try moving the monkey patching code to the very top of the file, above all other imports. Also, please don't write bugs against this package when you have a question about your own code. There is a discussion board for quesitons. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to broadcast every 5 seconds from a server.py to a client in angular, information inside a loop and from what I have read my code should work, or there is some bug I am not seeing, it stays inside the loop but the socket does not broadcast anything, I am using the latest versions of all the packages for python 3.7.4. If I remove the while:True and the socketio.sleep it works correctly.
Server Code:
Client node js:
The client does not even receive the connection and therefore does not print console.log('Conectado'). I would be immensely grateful for help.
Beta Was this translation helpful? Give feedback.
All reactions