News for hackers. Stuff that matters.
Re:Goodbye PNaCl, Hello WebAssembly (2017) by mikevm on Monday May 30, 2022 @03:59AM (#31556548)
After the move to WASM you can no longer use TCP/UDP sockets in your extensions and must rely on WebSockets/WebRTC instead, which is a shame. See https://developer.chrome.com/docs/native-client/migration/ (see the "PPB_TCPSocket and PPB_UDPSocket" section).
Re:Goodbye PNaCl, Hello WebAssembly (2017) by exikyut on Monday May 30, 2022 @09:35AM (#31558793)
Uhh... um, that's cough looking to change sometime soon.

https://chromestatus.com/feature/6398297361088512

Part of me completely understands.

The other half is looking at this like a deer inβ €π™Ž 𝙋 𝙄 𝘾 𝙔 β € 𝙃 𝙀 𝘼 𝘿 𝙇 𝙄 𝙂 𝙃 𝙏 π™Žβ €and absolutely facepalming...

Re:Goodbye PNaCl, Hello WebAssembly (2017) by crummy on Monday May 30, 2022 @04:07AM (#31556594)
You sort of can, if you don't mind piping your traffic through wireguard for example:

https://www.youtube.com/watch?v=DNS4en4JyGo

Re:Goodbye PNaCl, Hello WebAssembly (2017) by mikevm on Monday May 30, 2022 @06:24AM (#31557419)
That requires another node... I want a direct connection to the outside.
Re:Goodbye PNaCl, Hello WebAssembly (2017) by paulgb on Monday May 30, 2022 @07:48AM (#31558017)
Is UDP-over-WebSocket built in to WireGuard, or is this really tunneling browser <> WS/UDP proxy <> WireGuard?