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

QUdpSocket::readDatagram() returns null QHostAddress

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.10.0
    • Network
    • None
    • Windows 10
    • 6a9d076e87f0c8aa4fb49bbcc2f56eefd85af2e3

    Description

      When reading a UDP datagram with readDatagram the QHostAddress is not being set correctly with 5.10.0. This works correctly in 5.9.2.

      I have attached a test case which demonstrates the problem:

      1. Run udptest --server
      2. Run udptest
      3. Observe that under 5.9.2 the output of the server will include the ip of the client, while under 5.10.0 an empty string will output where the ip address should be.

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              james_emerton James Emerton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes