wasm-micro-runtime
wasm-micro-runtime copied to clipboard
lib-socket `getaddrinfo` does not support all hints options
The current version of getaddrinfo will fail if called using either of the ai_protocol and ai_flags hints. If either of these are non-zero, the code will fail with __WASI_ERRNO_NOSUP. This occurs in the helper method addrinfo_hints_to_wasi_hints. Existing code that calls with these hint options will receive an error.