Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebsocket->valid()
Forum Updated to NodeBB v4.3 + New Features

QWebsocket->valid()

Scheduled Pinned Locked Moved Unsolved General and Desktop
qwebsocket
2 Posts 2 Posters 267 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RickF
    wrote on 3 Dec 2022, 17:19 last edited by
    #1

    I looked up the hierarchy of this call and it ends up on windows looking at the socketdescriptor != -1.

    When would that happen? Why would one need this call if they can get a signal from the socket state?

    Can the socket descriptor get set to -1 behind our back somewhare?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Dec 2022, 19:58 last edited by
      #2

      Hi,

      Good question ! Behind your back ? Likely not. Based on the documentation it represent a non-ready for communication state.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      3 Dec 2022, 19:58

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved