Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve WASM support #4524

Open
marten-seemann opened this issue May 17, 2024 · 0 comments
Open

improve WASM support #4524

marten-seemann opened this issue May 17, 2024 · 0 comments
Labels

Comments

@marten-seemann
Copy link
Member

quic-go works when given a net.PacketConn created using the WASI socket extension (https://github.com/dispatchrun/net). This is great news.

What doesn't work yet is using the convenience functions (e.g. DialAddr and ListenAddr), as these functions call into the Go standard library net package (which doesn't support WASM). We could add a build flag and call into github.com/dispatchrun/net instead.

However, this will create a dependency of quic-go on that library, so maybe we don't want to do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant