Python implementation of the Socket.IO realtime client and server.
Questions tagged [python-socketio]
137 questions
-1
votes
1 answer
socketIO-client-nexus 0.7.6 - StopIteration error
from socketIO_client_nexus import SocketIO, LoggingNamespace
from requests.exceptions import ConnectionError
try:
socket = SocketIO('https://myURL/myendpoint', verify=False, wait_for_connection=False)
socket.wait()
except ConnectionError:
…
![](../../users/profiles/2818619.webp)
Abhilash
- 2,667
- 6
- 29
- 59
-1
votes
1 answer
How to make SocketIO/aiohttp print to screen every X seconds
A SocketIO server created using aiohttp appends a new string to a global dict zoo on receiving a addAnimal message from its socketio clients.
Is it possible to also print out the dict zoo every 5 seconds? My current code below does not seem to print…
![](../../users/profiles/741099.webp)
Nyxynyx
- 52,075
- 130
- 401
- 707