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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes