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

Windows 10: QUdpSocket::receiveDatagram destinationAddress/Port not set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.9.1
    • Fix Version/s: 5.9.3
    • Component/s: Core: I/O, Network: Sockets
    • Labels:
      None
    • Commits:
      484a186f50de59279cf3c02088273ff114f4cfcf

      Description

      On Windows when receiving a datagram via QUdpSocket::receiveDatagram the destinationAddress/Port is not set on the returned QNetworkDatagram.
      This would especially useful for multicast to tell the various multicast IP adresses apart.

      See minimal example attached.

        Attachments

        1. SendUDP.ps1
          0.8 kB
        2. Test.cpp
          0.8 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                thiago Thiago Macieira
                Reporter:
                richardo Richard Öhlinger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes