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

API for binding QTcpSockets to specific local port without using QTcpSocket::setSocketDescriptor()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 4.1.2
    • Network: Sockets
    • None

    Description

      It would be convenient if QTcpSocket supported binding to a local port; it's possible at the moment for the user to do by getting the socket descriptor and operating on it directly, but a Qt API would be preferrable.

      Also good suggestions:

      • binding to a local address (not just a port)
      • if possible, take a QNetworkInterface to indicate the address(es) to bind to.

      Attachments

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

        Activity

          People

            w00t Robin Burchell
            admin Administrator
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes