I'm using QT 4.8.6 and I'm beginner level at QT. I look at the Fortune Client-Server Example. In this example , data send with button click action. But I want to sending data continuously in Server Side and reading this continuous data in Client Side. How can I implement this code in QT ?
In Server Side :
bool keepSending = true;
while(keepSending)
{
..
writePacket();
..
}
In ClientSide :
bool keepListening = true;
while(keepListening )
{
..
readPacket();
..
}
Bookmarks