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. How to check TCP_KEEPIDLE, TCP_KEEPCNT, TCP_KEEPINTVL in Windows using QTCPSocket
Forum Updated to NodeBB v4.3 + New Features

How to check TCP_KEEPIDLE, TCP_KEEPCNT, TCP_KEEPINTVL in Windows using QTCPSocket

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 666 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.
  • ManiRonM Offline
    ManiRonM Offline
    ManiRon
    wrote on last edited by
    #1

    I want to check the connection status of server from client . when the cable is removed, The QTCPSocket doesn't emit any signal saying that the server is disconnected , So in order to overcome this whether the options which are used in Linux OS such as TCP_KEEPIDLE, TCP_KEEPCNT, TCP_KEEPINTVL are available in QTCPSocket or is there any other way to detect the connection status .

    Thanks In Advance

    1 Reply Last reply
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by Kent-Dorfman
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • Kent-DorfmanK Offline
        Kent-DorfmanK Offline
        Kent-Dorfman
        wrote on last edited by
        #3

        Read the docs for QAbstractSocket. There are plenty of methods and signals for you to experiment with.

        1 Reply Last reply
        2

        • Login

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