Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. WebSocket - Who is the "server" and who is the "client"?
Forum Updated to NodeBB v4.3 + New Features

WebSocket - Who is the "server" and who is the "client"?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 453 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BD9a
    wrote on last edited by BD9a
    #1

    Hello, I want to caught all messages on my site typed in "text field" by user in my site from my app using websocket.

    In short:
    alt text

    Who is the "server" and who is the "client", and how to recieve this "message" sent by user?

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @bd9a said in WebSocket - Who is the "server" and who is the "client"?:

      Who is the "server" and who is the "client",

      Since the app should connect to the site I would use the QWebSocketServer on the 'Site' application.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      3
      • B Offline
        B Offline
        BD9a
        wrote on last edited by
        #3

        "Site" I mean WebSite, it's possible to do it without QWebSocketServer? Only client connected to website.

        1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Someone must provide a server - how should the client connect without it otherwise?
          But it must not be necessarily a Qt server or client since websockets is an open standard.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          B 1 Reply Last reply
          3
          • Christian EhrlicherC Christian Ehrlicher

            Someone must provide a server - how should the client connect without it otherwise?
            But it must not be necessarily a Qt server or client since websockets is an open standard.

            B Offline
            B Offline
            BD9a
            wrote on last edited by
            #5

            @christian-ehrlicher Ty, that's all I need.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved