O rly? I was wondering about that. I had an issue in which two transmissions of data would somehow, in the same time frame, be read instead of one. Only 25 bytes is coming from my microcontroller, but when I put in the waitForReadyRead(...), it read 50 bytes.There is really no point in calling waitForReadyRead() in the slot connected to the socket's readyRead() signal.
I should note that the waitForReadyRead(...) call was necessary to retrieve data at all when I ran the program in Visual Studio recently. I must have inadvertently "crossed some wires", so to speak. I'll try to do without, although I'd like to know how that function works and what it is linked such that it read twice.




Reply With Quote



Bookmarks