Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82898

Networking and connectivity support in WebAssembly

XMLWordPrintable

      Collection of networking and connectivity related tickets in WebAssembly (wasm)

      Works Today:
      -QNetworkAccessManager http(s) requests to the web page origin server, or to a server which supports CORS.
      -QWebSocket connections to any host.
      Issue
      -TCP and UDP sockets are not well supporte
      -Blocking sockets on the main thread not supported
      -Sockets on a secondary thread is not supported
      Solution: 
      -Tunnel TCP and UDP sockets over WebSockify, using functionality provided by Emscripten.
      -Event dispatcher socket notifier support for async (nonblocking) sockets on the main thread
      -Use asyncify for blocking sockets on the main thread.
      -Local socket proxy towards the HTTP server
      https://emscripten.org/docs/porting/networking.html#:~:text=Emscripten%20provides%20a%20native%20POSIX%20Sockets%20proxy%20server,POSIX%20Sockets%20API%20access%20from%20a%20web%20browser.

      Blocking sockets are handled in QTBUG-76739

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.webassembly qt.webassembly
            santtuahonen Santtu Ahonen
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Tor Arne Vestbø Tor Arne Vestbø
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes