dispatchrun / wasi-go

A Go implementation of the WebAssembly System Interface (WASI)
Apache License 2.0
124 stars 7 forks source link

wasitest: add tests for sockets in blocking mode #66

Closed achille-roussel closed 1 year ago

achille-roussel commented 1 year ago

This PR adds more tests to verify the behavior of sockets in blocking mode; they are copies of tests used in non-blocking mode with the poll_oneoff calls removed.

I aloso implemented SO_RCVTIMEO and SO_SNDTIMEO since those options apply to blocking mode.