wasm-micro-runtime/core/iwasm/libraries/lib-socket
Marcin Kolny 151600fef2
Fix wasi-sockets tests (#2389)
Tests were failing because the right permissions were not provided to iwasm.
Also, test failures didn't trigger build failure due to typo - also fixed in this change.

In addition to that, this PR fixes a few issues with the test itself:
* the `server_init_complete` was not reset early enough causing the client to occasionally
  assume the server started even though it didn't yet
* set `SO_REUSEADDR` on the server socket so the port can be reused shortly after
  closing the previous socket
* defined receive-send-receive sequence from server to make sure server is alive at the
  time of sending message
2023-07-30 19:34:09 +08:00
..
inc Allow defining hints without exact socket type or address family (#2337) 2023-07-04 21:21:21 +08:00
src/wasi Allow defining hints without exact socket type or address family (#2337) 2023-07-04 21:21:21 +08:00
test Fix wasi-sockets tests (#2389) 2023-07-30 19:34:09 +08:00
lib_socket_wasi.cmake Implement part of Berkeley Socket API for libc-wasi (#1036) 2022-03-10 15:13:38 +08:00