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
Emscripten has a Websocket Proxy feature that apparently lets you run full TCP/UDP servers from inside the browser: https://emscripten.org/docs/porting/networking.html#full-posix-sockets-over-websocket-proxy-server. It sounds like one could have TCP or maybe even QUIC support inside the browser by compiling cpp-libp2p to Emscripten. If that's true, would it be worthwhile to add Emscripten as a supported target for cpp-libp2p?
/edit: nvm.. it seems that you need to run the server outside the browser actually. 😄
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Emscripten has a Websocket Proxy feature that apparently lets you run full TCP/UDP servers from inside the browser: https://emscripten.org/docs/porting/networking.html#full-posix-sockets-over-websocket-proxy-server. It sounds like one could have TCP or maybe even QUIC support inside the browser by compiling cpp-libp2p to Emscripten. If that's true, would it be worthwhile to add Emscripten as a supported target for cpp-libp2p?/edit: nvm.. it seems that you need to run the server outside the browser actually. 😄
Beta Was this translation helpful? Give feedback.
All reactions