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

UDP socket can not be closed on Windows7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.15.1
    • Network: Sockets
    • None
    • Windows

    Description

      OS: Windows7

      Qt: 5.15.1

      Steps:

      1, Start the routing remote access service .

      2,Open the example :"multicastsender" in Qt's Example folder. compile and run it. 

      3,Set the ttl to 2 , and start.

      4, close the app.

      The app can not exit. 

       

      I added udpScoket4.close() in destructor of "Sender", and I found that, the close() function can not return. 

      This problem only occur on Windows7. On Windows 10 , it is OK. 

       

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            yorkchenqt1989 York Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes