Closed ghost closed 2 years ago
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.
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.