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

WebSocket Critical Question ? #78

Open
wwwakcan opened this issue Mar 31, 2023 · 3 comments
Open

WebSocket Critical Question ? #78

wwwakcan opened this issue Mar 31, 2023 · 3 comments

Comments

@wwwakcan
Copy link

Hi, Thank You for created the this package.

How can i connect to my socket.io server my server ?.

@jczic
Copy link
Owner

jczic commented Mar 31, 2023

Hello and thank you @thevobos.
MicroWebSrv is an HTTP(s) server with a plugin for WebSockets but it's not a "client".
So, if you want to connect 2 serveurs, you must use a client "in" the server :)
That's ok for you?

@wwwakcan
Copy link
Author

Thank you for your quick response.

I couldn't find any client libraries for socket.io. Any chance of guidance on this?

"https://github.com/danni/uwebsockets/tree/esp8266/usocketio" I found this library but could not use it.

"https://github.com/miguelgrinberg/python-socketio" I'm not sure if this library works.

@jczic
Copy link
Owner

jczic commented Mar 31, 2023

There are not many websockets "clients" for micropython unlike python.
The most used one seems to be Danni's but indeed it is proposed for esp8266.
You can read this : danni/uwebsockets#7 (ESP32 support...)

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

No branches or pull requests

2 participants