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. TCP SSL server example
Qt 6.11 is out! See what's new in the release blog

TCP SSL server example

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.3k Views 3 Watching
  • 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.
  • canellasC Offline
    canellasC Offline
    canellas
    wrote on last edited by
    #1

    Hi,

    I found some examples on how to implement a TCP SSL server, but they seem outdated. Does anyone know an example written at most one year ago?

    I am not interested in examples that use QWebSocketServer.

    Thanks a lot!

    K 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What example are you referring to ?
      What makes you think they are outdated ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • canellasC canellas

        Hi,

        I found some examples on how to implement a TCP SSL server, but they seem outdated. Does anyone know an example written at most one year ago?

        I am not interested in examples that use QWebSocketServer.

        Thanks a lot!

        K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        @canellas

        That sounds odd. Are you using a recent version of Qt libs and their examples?

        Vote the answer(s) that helped you to solve your issue(s)

        canellasC 1 Reply Last reply
        0
        • K koahnig

          @canellas

          That sounds odd. Are you using a recent version of Qt libs and their examples?

          canellasC Offline
          canellasC Offline
          canellas
          wrote on last edited by canellas
          #4

          @koahnig and @SGaist ,

          Thanks for your time!

          The examples that come with QtCreator are updated, of course, but I could not find one that describes the situation I want: a QTcpServer server that uses QSslSocket. Maybe my eyes are too tired? 8)

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            AFAIK, it boils down to using QSslSocket on both sides in place of QTcpSocket.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • canellasC Offline
              canellasC Offline
              canellas
              wrote on last edited by
              #6

              That's what I think, but I would like to see a simple example, not only to confirm, but to give me a start.

              Anyway, I will try to modify an example that uses QTcpSocket to use QSslSocket instead.

              I will keep this topic opened a day or two, hoping someone to be lucky, and someone posts an example.

              Thanks again!

              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