Hey @all,
i have a problem with my client/server application.
The application is to transfer files over a network. this works fine, but now checked the transfer over an VPN tunnel. and here comes the problem. After a while the client was transferin a file, I received a SocketTimoutError SIGNAL.
I've read some posts and find a resolution (on windows after a timeout is occured, the socket must be flushed so the rest of the data can be transfered.)
But when i tried this:
nothing happens, i got the message "SocketTimeoutError: Trying to flush" and that was it.Code:
switch (socketError) { cout << "SocketTimeoutError: Trying to flush" << endl; QMap<QString, QVariant> empty_val; sendMessage(GD_FLUSH, empty_val); tcpSocket->flush();
So my question is, how can i transfer over an VPN tunnel without timeout? And/Or Can i handle the timeout?
Regards NoRulez
