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

bind failed if we call connectToHost with QTcpSocket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.1.1
    • Network
    • None
    • Windows 7 x64
      Qt 5.1.1

    Description

      If I call connectToHost after using bind function, I lost the local port.
      So I can't use a specific port for a Tcp connection.

      See attached project with a client/server to see the problem.

      Attachments

        Issue Links

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

          Activity

            People

              shkearns Shane Kearns
              fgu123 Florian
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes