Hello! I have been trying for some time to open a TCP (or UDP, WebSocket,… ) connection from Rust compiled to Web Assembly without any luck. These are the two approaches I have tried:
std: use the built-in implementations available in the standard library. Unfortunately, I always get OS error 115 (Operation in progress) when I do
TcpStream::connect. In the Firefox console, this appears as a failing WebSocket.
websocketor some other crate for WebSockets: tried
wsand some others, but I could not get any of these to compile.