read data from TCP/IP
Solved
General and Desktop
-
Hi all,
I read code a chat program, in code define a variable "qint64 bytes_recived".
in code if sizeof(qint64) * 2 was smaller bytes_recived, read data from tcp/ip, but I can not understand this segment of code. No one has any comments on this code? -
This is the old way (pre-2016).
Have a look at this article with an example and explanation of what it does -
Thanks @VRonin