No, this waits for the connection to be established, not for the data to be ready.
QAbstractSocket::waitForReadyReadShould I add anything else here?That should motivate you to do some more reading.(I'm new to Qt and Socket-programming)
No, this waits for the connection to be established, not for the data to be ready.
QAbstractSocket::waitForReadyReadShould I add anything else here?That should motivate you to do some more reading.(I'm new to Qt and Socket-programming)
Thanks a mill wysota!
I hadn't thought about the waitForReadyRead- that I had to wait for the data to be ready to read also.
Be aware that the fact that waitForReadyRead returns means there is something to read, not that everything is ready to be read.
gQt (29th February 2008)
Bookmarks