Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal to use a socket server based on select for receiving data. #550

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

btsimonh
Copy link
Collaborator

The provided implemention has been tested with SSDP, and is implemented for DGR and SSDP. It could be used for ANY sockets - e.g. it could be used for the http server, to accept http connections.

Logs could be reduced, but it's clean and functional.
We should check stack usage...

The provided implemention has been tested with SSDP, and is implemented for DGR and SSDP.
It could be used for ANY sockets - e.g. it could be used for the http server, to accept http connections.
@thelinusgo
Copy link

thelinusgo commented Apr 12, 2023

Hi @btsimonh - just wanted to confirm I'm using this socket server implementation for both of my BK7231N Tuya bulbs and I've noticed a huge increase in performance/speed 🎉

@openshwprojects
Copy link
Owner

openshwprojects commented Apr 12, 2023 via email

@thelinusgo
Copy link

Hi @openshwprojects, to clarify do you want a PR with these changes, with the latest master merged into it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants