dotnet-wasi-sdk icon indicating copy to clipboard operation
dotnet-wasi-sdk copied to clipboard

Support more than one Pre-Opened connection

Open hwoodiwiss opened this issue 2 years ago • 0 comments

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.

hwoodiwiss avatar Sep 11 '22 00:09 hwoodiwiss