-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-System.Net.Socketsos-wasiRelated to WASI variant of arch-wasmRelated to WASI variant of arch-wasm
Milestone
Description
#106977 introduced support for Wasi sockets, but opted-out from test cases using PortBlocker.
@pavelsavara could this be fixed by replacing libc with the right name to import wasi-libc here?
runtime/src/libraries/Common/tests/System/Net/Sockets/SocketTestExtensions.cs
Lines 205 to 209 in 572533b
| [Runtime.InteropServices.DllImport("libc", SetLastError = true)] | |
| static extern int bind(SafeSocketHandle socket, IntPtr socketAddress, uint addrLen); | |
| [Runtime.InteropServices.DllImport("libc", SetLastError = true)] | |
| static extern int getsockname(SafeSocketHandle socket, IntPtr socketAddress, IntPtr addrLenPtr); |
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-System.Net.Socketsos-wasiRelated to WASI variant of arch-wasmRelated to WASI variant of arch-wasm