dotnet-wasi-sdk
dotnet-wasi-sdk copied to clipboard
Support more than one Pre-Opened connection
Currently even with multiple pre-opened sockets passed with:
wasmtime bin/Debug/net7.0/AspNetCoreOnNativeWasi.wasm --tcplisten=127.0.0.1:5001 --tcplisten=127.0.0.1: 5002 --tcplisten=127.0.0.1:5003
Only the first preopen will be respected. http://localhost:5001
responds with the api output, whereas 5002
and 5003
refuse the connection.