PDA

View Full Version : Regarding two function, readyread() and isReadable difference in QtcpSocket class



qqqqqqq
24th March 2013, 16:52
sir whether connect(&socket,SIGNAL),this,SLOT));
and if(socket.isReadable()) { readData(&socket); }
are same?

ChrisW67
24th March 2013, 22:37
No... neither snippet is close to being compilable code but apart from that they are not the same.