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. Open multiple QSslSockets
Forum Updated to NodeBB v4.3 + New Features

Open multiple QSslSockets

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 1.5k 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.
  • T Offline
    T Offline
    Tirupathi Korla
    wrote on last edited by
    #1

    Hi,
    How can we open multiple QSslSockets and access data from the sockets without blocking the GUI.

    Thanks
    Tirupathi

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      http://doc.qt.io/qt-5/qtnetwork-securesocketclient-sslclient-cpp.html

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      1
      • T Offline
        T Offline
        Tirupathi Korla
        wrote on last edited by
        #3

        Thanks for quick reply. But still the GUI is blocking even if we use signals and slots.
        FYI, We are working with qml.

        Thanks
        Tirupathi

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          http://doc.qt.io/qt-5/qtnetwork-threadedfortuneserver-example.html

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          T 1 Reply Last reply
          1
          • VRoninV VRonin

            http://doc.qt.io/qt-5/qtnetwork-threadedfortuneserver-example.html

            T Offline
            T Offline
            Tirupathi Korla
            wrote on last edited by
            #5

            @VRonin This is threaded server. need client.

            1 Reply Last reply
            0
            • VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by
              #6

              It's the same concept. put a socket in a QObject, move the object in another thread and control it via signal/slots

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              T 1 Reply Last reply
              2
              • VRoninV VRonin

                It's the same concept. put a socket in a QObject, move the object in another thread and control it via signal/slots

                T Offline
                T Offline
                Tirupathi Korla
                wrote on last edited by
                #7

                Thanks @VRonin.

                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