-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ASIO support for WebAssembly? Any ETA? #643
Comments
@DragonOsman commented on Nov 20, 2018, 2:18 PM UTC: Update: there's an official Emscripten port of ASIO. May need to verify version and see if it's the latest version. If it's not, then I want to know how to roll out my own ASIO port locally (I might propose for it to be included in the official port as well if it's good enough). |
Is it able to use ASIO with WebAssembly? |
@chriskohlhoff Any updates? |
@chriskohlhoff does this support co_await etc.? |
@DragonOsman commented on Sep 29, 2018, 12:41 PM UTC:
Hi everyone.
I want to ask if there're any plans for and/or ETA for ASIO supporting WebAssembly. I have a web server application I wrote using sync server and client examples from the Beast library that I wanted to try porting to WebAssembly, but I was told at the Beast GitHub that ASIO doesn't WebAssembly.
I'll show my source code here for reference, in case someone wants to see it (I have it all on Gist):
C++: https://gist.github.com/DragonOsman/d00ea7ec3d49c128ad7789293f156a09
CSS: https://gist.github.com/DragonOsman/3f3ba56ffd58476c6defaea95b066dc2
HTML: https://gist.github.com/DragonOsman/506bd2bae1dfe4c03a4bbe2a6d830324
JavaScript: https://gist.github.com/DragonOsman/c6e8fb15343544e662f474c5a526d1c2
The C++ code also declares two environment variables that are needed on the front-end side. It sends them over as needed.
This issue was moved by chriskohlhoff from boostorg/asio#151.
The text was updated successfully, but these errors were encountered: