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

unable to compile simple httpclient wasm module #18

Closed
gnanasekar-somanathan opened this issue Apr 16, 2019 · 3 comments
Closed

unable to compile simple httpclient wasm module #18

gnanasekar-somanathan opened this issue Apr 16, 2019 · 3 comments

Comments

@gnanasekar-somanathan
Copy link

gnanasekar-somanathan commented Apr 16, 2019

I am trying to create simple httpclient wasm module to run on wasmtime
When compiling a simple httpclient using wasi-sysroot, I see that
netdb.h is not found and socket apis 'listen' , 'bind' , 'connect' , 'accept' are missing?
Are they supported?

@kubkon
Copy link
Contributor

kubkon commented Apr 16, 2019

As far as I can tell, networking is not standardised nor supported just yet. See WebAssembly/WASI#4, bytecodealliance/wasmtime#70, and bytecodealliance/wasmtime#69 for some discussions.

@sunfishcode, could you comment please?

@sunfishcode
Copy link
Member

Yes, that's right. There is currently no way to create network connections, so there's no listen, bind, connect, or accept. We'd like to add them, and there is some discussion in the issues @kubkon linked to.

@gnanasekar-somanathan
Copy link
Author

Thanks for the details

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