wasm-micro-runtime/core
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
..
app-framework esp-idf: Make esp-idf support Libc WASI (#1356) 2022-08-15 16:17:28 +08:00
app-mgr Fix some issues reported by Coverity (#1150) 2022-05-07 16:51:43 +08:00
deps Fix littlevgl link error issues (#1006) 2022-02-15 08:41:36 +08:00
iwasm Added http downloader and multicast socket options (#1467) 2022-09-15 17:09:39 +08:00
shared Fix bind() calls to receive the correct size of sockaddr structure (#1490) 2022-09-16 11:09:03 +08:00
config.h Enable remote attestation by librats in SGX mode (#1445) 2022-09-06 14:29:58 +08:00
version.h Enable the semantic version mechanism for WAMR (#1374) 2022-08-18 19:01:05 +08:00
version.h.in Enable the semantic version mechanism for WAMR (#1374) 2022-08-18 19:01:05 +08:00