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

QAbstractSocket::ShareAddress has no effect for multicast sockets

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.1.1
    • Fix Version/s: None
    • Component/s: Network: Sockets
    • Labels:
      None
    • Environment:
      Qt 5.1.1/gcc 4.8.1/Debian Sid 64bit.

      Description

      Take the multicastreceiver in the network examples. Change groupaddress to 239.255.255.250 and port to 1900. Leave rest of code unchanged. Start multicastreceiver twice. The second time the following error message is printed to console: QNativeSocketEngine::joinMulticastGroup() was not called in QAbstractSocket::BoundState
      239.255.255.250/1900 is UPnP multicast. When one listener is connected to this socket, no other program can use it. This prevents for instance multicast UPnP messages of an XBMC running on the same machine. This bug does not happen under Windows 7/mingw-4.8.1/Qt-5.1.1.

        Attachments

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

          Activity

            People

            • Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              wargand Guido Seifert
            • Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes