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

QUdpSocket: Is not emitting signal readReady when used as a QIODevice (read(), readline(), write())

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 5.2.1
    • Network: Sockets
    • None
    • Windows 7
      Qt 5.2.1 from Qt website

    Description

      I'm trying to use QUdpSocket as a QIODevice. I bind the socket to port I would like to liston on and then use the connectToHost(...) to connect to the broadcast address. At this stage, write() works as expected, but I never get any readyRead signal. I have attached a small example to show the problem.

      Attachments

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

        Activity

          People

            peter-har Peter Hartmann
            niclask Niclas Karlsson
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes