News for hackers. Stuff that matters.
Re:Show HN: Full Freeciv client running on WebAssembly by chii on Sunday January 23, 2022 @09:43AM (#30046453)
> we host servers that the wasm clients connect to via websockets.

would it be possible to make this completely p2p so that another browser hosts the server and connect to it via webRTC style?

Re:Show HN: Full Freeciv client running on WebAssembly by freeciv21 on Sunday January 23, 2022 @09:52AM (#30046528)
It should be possible, but it would take more invasive netcode changes to be able to handle webRTC. Emscripten does not do similar translation of socket calls to webRTC.