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

QLocalSocket isValid method returns false even if state is ConnectedState

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.8.0
    • 4.7.1
    • Network: Sockets
    • None
    • mingw 4.4.0, windows XP SP3
    • 4e9eb911ffc70959d81de01fe9fe4a704cafe3eb

      The QLocalSocket isValid method returns always false on windows, even if state is ConnectedState and no error occured.
      The result comes from the PeekNamedPipeFunction, not the check for INVALID_HANDLE_VALUE.

      Though the PeekNamedPipe seems to return false, the GetLastError is 0

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

            jbornema Joerg Bornemann
            j.kreuzberger Joerg Kreuzberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes