I'm trying to collect a list of projects that make use of preview1 sockets in order to make an informed decision on them for preview2+. Are there any applications that actively make use of them?
So far I've been able to find exactly one: https://github.com/SteveSandersonMS/dotnet-wasi-sdk/blob/main/src/Wasi.AspNetCore.Server.Native/native/tcp_listener_loop.c#L37
Turns out, this is quite difficult to google for :)
I also haven't been able to find any users, you've found one more than I have known about
if test programs like this count https://github.com/yamt/garbage/tree/master/wasm/httpd
iiuc, it's more common to use runtime-dialects of socket api (at least wamr, wasmedge, wasmer provide their own dialects) as preview1's socket support is very limited.
eg. https://www.docker.com/blog/docker-wasm-technical-preview/ was using wasmedge dialect when i looked at it
Yes that is what I expected as well
Thanks for your input. That's what I've found so far too
Last updated: Nov 22 2024 at 17:03 UTC