wasm-micro-runtime/core/shared/platform/windows
Marcin Kolny f6bbeade2a
Implement wasi_addr_resolve function (#1319)
Implement wasi_addr_resolve function.
    
Also slightly modify the interface to make it more accessible for the end user:
- replace port argument with the service - so the user can actually get the port for a given service if unknown
- introduce __wasi_addr_info_t and use it as a buffer for addresses, instead of generic buffer
- introduce __wasi_addr_info_hints_t so user can enable filtering on the syscall level (and therefore use smaller buffers for addresses)
- add max_size parameter for the API as an output - in case the number of addresses is bigger than the buffer size, user can repeat the call with bigger buffer

This change is very minimalistic, and it doesn't include the followings:
 1. implementation of getaddrinfo in the lib-socket
 2. sample application
Which are to be added in the following change #1336
2022-07-28 12:25:05 +08:00
..
platform_init.c Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
platform_internal.h Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
shared_platform.cmake Add wamrc AoT compiler building support for Windows(MSVC) (#332) 2020-08-11 11:30:51 +08:00
win_malloc.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
win_memmap.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
win_socket.c Implement wasi_addr_resolve function (#1319) 2022-07-28 12:25:05 +08:00
win_thread.c Implement Go language binding (#1196) 2022-06-01 11:35:05 +08:00
win_time.c Enable Windows MinGW support (#1000) 2022-02-06 13:20:38 +08:00