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

server side QSslSocket

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P3: Somewhat important
    • 6.4
    • Some future release
    • None

    Description

      It would be nice if a QSslServer would be created, instead of reimplementing QTcpServer. Like:

      QSslServer *sslServer = new QSslServer(this);
      sslServer->setPrivateKey(&key);
      sslServer->setLocalCertificate(&cert);
      if(!sslServer->listen(QHostAddress::Any, 1025)){
      std::cout << qPrintable(sslServer->errorString) << std::endl;
      }else{
      connect(sslServer, SIGNAL(newConnection()),
      this, SLOT(handleNewConnection()));
      }
      ......
      while(sslServer->hasPendingConnections()){
      QSslSocket *sslSocket = new QSslSocket(this);
      connect(sslSocket,.........
      }

      Attachments

        Issue Links

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

          Activity

            People

              richmoore Richard Moore (qtnetwork)
              teodori.serge Teodori Serge
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes