I am new in QT i have written one server client application in where my server will continuously send some file names to client and client should receive them correspondly one by one.In client side to receive the file names i am using "waitforReadyread()" in a while loop like,
while(sock->waitforreadyReady(300))
{
sock->read(f_name,sock->bytesavailable());
-----
}
So i am recevieng the filenames till that timeout but server send all the file names. i want to receive all the file names from server untill server send some finsh string to client. so please help.
Bookmarks