wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

lib-socket `getaddrinfo` does not support all hints options

Open srberard opened this issue 5 months ago • 0 comments

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.

srberard avatar Aug 27 '25 13:08 srberard