Skip to content

Consider enabling PortBlocker tests on Wasi #112039

Open
@antonfirsov

Description

@antonfirsov

#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.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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions