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:
Qt Code:
  1. pcRequest[0] = request->getTransaction() >> 8;
  2. 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:
Qt Code:
  1. quint16 qTrans = request->getTransaction();
  2. pcRequest[0] = (char)(qTrans >> 8);
  3. 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,