//This will do all the reading and writing from buffer to screen
for( ;; ) {
channel->Read(dataBuffer.GetPointer(), bytesInFrame);
channel->Write((const void *)dataBuffer, 0);
if (!exitFlag.WillBlock())
break;
}
Dispaly part is handled by SDL So is there any hwndle for window(screen)