Important: Please read the Qt Code of Conduct -

Issue with waitForReadyRead()

  • 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 ;-)



  • Please, post your code.

Log in to reply