Skip to content

browser display error on tcp programming in yew #3368

Answered by HeroesLament
mikewang68 asked this question in Q&A
Discussion options

You must be logged in to vote

The Yew crew could chime in with a more specific answer, but because the WASM binary runs within the browser's sandbox and DOM, it can't interact with the kernel to open up arbitrary TCP sockets. However, you could do something like WebSocket or any of the other Fetch APIs exposed to regular web applications.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hamza1311
Comment options

Answer selected by hamza1311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #3173 on August 05, 2023 13:46.