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

QUdpSocket join to group error

XMLWordPrintable

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

      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!

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

            shkearns Shane Kearns
            mskmsk_1985 Mihail
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes