Hi, iam making BOT in Qt c++ for one small game.. Everything works fine.. iam using QTcpsocket::readyRead() and then QByteArray message = socket.readAll();.. but now i found that i miss some packets, like when i track other players positions it does not update everytime, but very often.. I found on internet that the data over sockets are send by packeges, but its size is sent before the package.. and i need wait for when the package is full recieved and then read.. I dont really know how i would do this.. (Theres no problem with the packets, like they are not half-only, but i miss some of them).. Sorry for my english, i hope someone will help me.
There is pic of how the packets looks like: