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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • 5.9.6
    • Network: Sockets
    • None
    • The hardware used is the same on both OpenBSD and the compared platform, Linux
    • Other

      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 "::".

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes