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

QTcpServer fais if listening on QHostAddress::Any

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 5.0.0
    • Network
    • None

    Description

      QTcpServer server;
      server.listen(QHostAddress::Any, 0);
      Q_ASSERT(server.serverAddress() == QHostAddress::Any);

      hits the assert with current Qt5.

      server.serverAddress() in this case is currently returning "::%0" with protocol() set as IPv6.

      Attachments

        Issue Links

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

          Activity

            People

              shkearns Shane Kearns
              andrunko Andre Moreira Magalhaes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes