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

QUdpSocket join to group error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.0.2
    • Network: Sockets
    • None

    Description

      Under Windows7 QUdpSocket::joinMulticastGroup(QHostAddress, QNetworkInterface) does not works correctly on interfaces that has IPv6 and IPv4 addresses simultaneously. It is because of the qnativesocketengine_win.cpp lines 990 - 991. You take only first address and if it IPv6 address that could not be converted to the IPv4 then join will be done to the default windows IPv4 multicast interface. And it could be not that interface that has been specified on function call!

      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
              mskmsk_1985 Mihail
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes