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

OpenBSD: QAbstractSocket function bind() without arguments has different behaviour than on other platforms.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 5.9.6
    • Fix Version/s: None
    • Component/s: Network: Sockets
    • Labels:
      None
    • Environment:
      The hardware used is the same on both OpenBSD and the compared platform, Linux
    • Platform/s:
      Other

      Description

      If you use the bind function without passing the documented arguments it will assign itself to the local ipv4 address on most platforms, a.k.a. "0.0.0.0". But on OpenBSD it behaves differently and assigns itself to "::".

        Attachments

        1. ktrace.out.txt
          337 kB
        2. main.cpp
          0.2 kB
        3. udpSocketBugReport.pro
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              pol_m pol_m
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes