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

Provide a public "bind" API for QCoapClient, or at least filter out unexpected replies not from peer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.8.4, 6.9.2
    • CoAP
    • d1edf59e2 (dev), 7656ff2d2 (6.10), 1f2aec25e (6.9), 4c2f7fba1 (tqtc/lts-6.8)

      The current implementation binds to 0.0.0.0:<a random port> by default and user has no way to control it. It can be confirmed by, e.g. "simple client" example:
      https://doc.qt.io/qt-6/qtcoap-simplecoapclient-example.html

      This is suboptimal and we should change the behavior.

        For Gerrit Dashboard: QTBUG-139697
        # Subject Branch Project Status CR V

            cnn Qt Core & Network
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: