mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-28 20:01:17 +00:00
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 |
||
|---|---|---|
| .. | ||
| alios | ||
| android | ||
| common | ||
| darwin | ||
| esp-idf | ||
| include | ||
| linux | ||
| linux-sgx | ||
| nuttx | ||
| riot | ||
| rt-thread | ||
| vxworks | ||
| windows | ||
| zephyr | ||
| README.md | ||
This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.
Refer to port_wamr.md for how to port WAMR to a target platform.