You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last version of POCO isn't trivial to compile in emscripten. ticket here
SDL2_net isn't detected by emscripten (there is no SDL_net.h in emscripten includes even tho it appears listed when running emcc --show-ports). Waiting for this ticket
Next steps:
Try using an older version of POCO that supports WebSockets
Investigate if adding SDL_net.h manually works
Adding SDL_net.h manually works well, this might be a way of doing this.
Problem: SDL2_net doesn't have any websocket layer, so I might need to build it by myself for the server :(
Before starting
If POCO is not an option, then
Rely on SDL2_NET with TCP and implement websocket entrypoint (or use websocketify)
A nice wrapper can be used too https://github.com/mwthinker/Network
Interesting resources for SDL_net
The text was updated successfully, but these errors were encountered: