Quote Originally Posted by Tadas View Post
Hi,

but then what value sends
Qt Code:
  1. QDataStream out(&ba, QIODevice::WriteOnly);
  2. out << true;
  3. clientConnection->write(ba);
To copy to clipboard, switch view to plain text mode 
Run the program and see for yourself.

how simulate boolean value true,
I don't know what you mean by "simulate" in this context.

how it would look in binary?
true (as a C++ keyword) is usually interpreted as 0x01.

How to achieve the same result without true?
I have no idea what you mean.