kovica
13th May 2010, 10:11
First of all let me say that I'm more fluent in Java and I've been using Qt only for a week now. :)
I'm creating a server/client application. Server is in Qt and seems to be ok, since I have a client in Java that works ok.
Now I'm doing a Qt client and that client is getting QAbstractSocket::SocketTimeoutError when I call socket.waitForConnected(25000). The error does not occour after 25 seconds as defined by the method parameter. Why? What can I do to prevent this socket timeout errors?
I've searched trough posts and did not come up with anything usefull.
Thanks.
I'm creating a server/client application. Server is in Qt and seems to be ok, since I have a client in Java that works ok.
Now I'm doing a Qt client and that client is getting QAbstractSocket::SocketTimeoutError when I call socket.waitForConnected(25000). The error does not occour after 25 seconds as defined by the method parameter. Why? What can I do to prevent this socket timeout errors?
I've searched trough posts and did not come up with anything usefull.
Thanks.