fix: 32 bit protocol
This commit is contained in:
@@ -33,9 +33,9 @@ bool Connexion::updateSocket(){
|
||||
return false;
|
||||
|
||||
DataBuffer buffer;
|
||||
m_Socket.Receive(buffer, sizeof(std::size_t));
|
||||
m_Socket.Receive(buffer, sizeof(std::uint64_t));
|
||||
if (buffer.GetSize() > 0){
|
||||
std::size_t packetLenght;
|
||||
std::uint64_t packetLenght;
|
||||
buffer >> packetLenght;
|
||||
|
||||
m_Socket.Receive(buffer, packetLenght);
|
||||
|
||||
Reference in New Issue
Block a user