Hi,
I don't really know if you are jocking. Have your read that the problem is in Release mode? So "qDebug" will get me ... ah, nothing.
The problem was that I used this code:
pcRequest[0] = request->getTransaction() >> 8;
pcRequest[1] = request->getTransaction();
pcRequest[0] = request->getTransaction() >> 8;
pcRequest[1] = request->getTransaction();
To copy to clipboard, switch view to plain text mode
That on Debug gets me this result(p.ex. "request->getTransaction()" returns 1):
pcRequest[0] == 0;
pcRequest[0] == 1;
And returns me this on Release:
pcRequest[0] == 1;
pcRequest[0] == 1;
The new code that I used is this:
quint16 qTrans = request->getTransaction();
pcRequest[0] = (char)(qTrans >> 8);
pcRequest[1] = (char)qTrans;
quint16 qTrans = request->getTransaction();
pcRequest[0] = (char)(qTrans >> 8);
pcRequest[1] = (char)qTrans;
To copy to clipboard, switch view to plain text mode
So, the problem that reciving different data is solved. Problem of the compiler and a mine mishap.
The other problem that the server reaches the connection is not solved yet. Any help will be usefull.
Thanks,
Bookmarks