This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/samples
Marcin Kolny f96773410a
Fix bind() calls to receive the correct size of sockaddr structure (#1490)
For some implementations (e.g. Mac OS) `bind()` requires the length to be exactly
equal to either `sockaddr_in` or `sockaddr_in6` structure. Because we always used
 `sizeof(struct sockaddr_storage)`, `bind()` was returning errors. In this change we
 fix the behavior. See StackOverflow [1] for details.

[1] https://stackoverflow.com/questions/73707162/socket-bind-failed-with-invalid-argument-error-for-program-running-on-macos
2022-09-16 11:09:03 +08:00
..
basic Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
gui Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
littlevgl Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
multi-module Fix multi-module and some other issues (#1435) 2022-08-31 17:38:38 +08:00
multi-thread Fix issue in multi-thread sample (#1458) 2022-09-07 12:56:50 +08:00
native-lib Make robust on choosing target assumption for X86_32 support (#1241) 2022-06-27 20:30:31 +08:00
ref-types Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
sgx-ra Enable remote attestation by librats in SGX mode (#1445) 2022-09-06 14:29:58 +08:00
simple Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
socket-api Fix bind() calls to receive the correct size of sockaddr structure (#1490) 2022-09-16 11:09:03 +08:00
spawn-thread Make robust on choosing target assumption for X86_32 support (#1241) 2022-06-27 20:30:31 +08:00
wasm-c-api Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
workload Fix build issue of the meshoptimizer workload (#1452) 2022-09-05 21:56:23 +08:00