invisibleroads / invisibleroads/socketIO-client
Issues while using socketIO-client library
- Dominant language
- Python
- Stars
- 441
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I was testing this library to be used in project involving socket connections to a socket server. Following are some of the issues I faced:
1. socket client is not continuously listening for events triggered by the server (I have to make a blocking call `manager.wait()`). Thus handlers are not executed as soon as server triggers a custom event. (This seems a big issue because socket connections are meant to be realtime)
2. On connecting to custom namespace `/sub` of the server (`using manager.define(Namespace, '/sub')`), `socket.emit("event")` works even after the client is disconnected from that namespace (either by client or server).
3. Once disconnected, if client again connects to server namespace (`using manager.define(Namespace, '/sub')`), it pics up the same connection-id as before whereas once disconnected, client should pick up new connection-id.
I don't know if someone else faced these issues, but please suggest if I got something wrong in using the library or above mentioned points are features or actually issues.
Please respond soon. I need this library to embed in a Flask application.
Regards
Rhythm
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.