Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http server error #49

Open
developerworks opened this issue May 4, 2022 · 4 comments
Open

Http server error #49

developerworks opened this issue May 4, 2022 · 4 comments

Comments

@developerworks
Copy link

Build:

cargo build --target wasm32-wasi --release
   Compiling http_server v0.1.0 (/Users/zhouyou/2022/wasm/wasmedge_wasi_socket/examples/http_server)
    Finished release [optimized] target(s) in 3.01s

Error:

wasmedge target/wasm32-wasi/release/http_server.wasm 
new connection at 1234
Error: Os { code: 52, kind: Unsupported, message: "Function not implemented" }

rustup and cargo version:

cargo 1.60.0 (d1fd9fe2c 2022-03-01)

rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.60.0 (7737e0b5c 2022-04-04)
@developerworks
Copy link
Author

wasmedge version:

wasmedge version 0.9.1

@developerworks
Copy link
Author

MacOS could not work, but can be run in Ubuntu 20.4

@abhinandanudupa
Copy link

As far as I know, socket programming has been implemented in WasmEdge for macOS and Linux, but not Windows.

But let the maintainers reply.

@hydai
Copy link
Member

hydai commented May 8, 2022

MacOS could not work, but can be run in Ubuntu 20.4

Some WASI socket related functions on MacOS is broken currently. We are going to fix them in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants