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

QUdpSocket likely don’t process some errors correct

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.8.1
    • Network: Sockets
    • None

    Description

      There are two problem close by each other.
      1) On “Windows XP” (may be on other “Windows” OS too). By sending a datagram with long length, “Windows” regularly return error code 10035 (WSAEWOULDBLOCK). This is likely temporary error. QUdpSocket likely don’t process this error correct and set state to QAbstractSocket::NetworkError. It is impossible to do with this socket something and I have to recreate this QUdpSocket. Consequently I cannot work with large datagram at all.
      2) On any platform. When QAbstractSocket::DatagramTooLargeError occurs than I have to recreate such QUdpSocket too. But this error is bind with the current datagram only. There is no reason to think that this error can be fatal for the socket.

      Attachments

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

        Activity

          People

            shkearns Shane Kearns
            alexandrkr Alexandr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes