emscripten-core / emscripten-core/emscripten
Fail blocking socket operations loudly
Open
good first bug
help wanted
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Would it make sense to fail blocking socket operations fail with an error code or a JavaScript exception?
@tiran encountered a `TypeError: Cannot read property 'stream' of undefined` error when calling accept on a blocking socket that was more confusing than `Error: accept call on blocking socket is not supported` would have been.
Contributor guide
Assessment
This issue has not been assessed yet.