I've made it works that way! Now if I know this packet, and if the packet should have fixed length - I'm cutting it out of receiveBuffer, and if some bytes left after that cutting (outsize > realLength) I do cut off realLength bytes from the receiveBuffer and pushing it again recursively. So now I have logged in successfully, have chat, journal, skills, and that is all for now. Black screen :D