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. Issue with waitForReadyRead()
QtWS25 Last Chance

Issue with waitForReadyRead()

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 824 Views
  • 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.
  • C Offline
    C Offline
    chrisBuk
    wrote on 20 Dec 2013, 15:08 last edited by
    #1

    Hi,

    I have two machines which are dialoging thru a TCP socket , but after several hours without call when I try to send a message ,I test the connection with function waitforReadyRead(30000) and it returns "false" but socket state() returns QabstrackSocket:ConnectingState . Is it normal , if no have you any idea to resolve this issue , maybe exists a timeout somewhere when nothing append during long time?

    Thank you for your help ;-)

    Regards

    Chris

    1 Reply Last reply
    0
    • B Offline
      B Offline
      brcontainer
      wrote on 27 Dec 2013, 23:59 last edited by
      #2

      Please, post your code.

      QT project: https://github.com/brcontainer/qt-helper

      1 Reply Last reply
      0

      • Login

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