wasm-micro-runtime/core/iwasm
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
..
aot Implement interpreter hw bound check (#1309) 2022-07-22 11:05:40 +08:00
common Refine wasm_runtime_call_wasm_a/v (#1326) 2022-07-25 13:53:42 +08:00
compilation Fix aot rotl/rotr 0 issue (#1285) 2022-07-12 13:43:56 +08:00
include Add API wasm_runtime_set_module_inst (#1286) 2022-07-14 11:36:11 +08:00
interpreter Fix interp hw bound check issues (#1322) 2022-07-23 20:39:01 +08:00
libraries Implement wasi_addr_resolve function (#1319) 2022-07-28 12:25:05 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00