Tried to implement some Utility::Bitconverter methods but it didnt worked
InternalTags cant be higher than 255 because they will be converted to byte added new ToString method in Utility::StringConverter Server now closes the connection better
This commit is contained in:
@ -15,7 +15,7 @@ struct NetworkBuffer
|
||||
NetworkBuffer();
|
||||
~NetworkBuffer();
|
||||
|
||||
std::vector<byte> header = Utility::BitConverter::FromUint32(8); // contains the size of the body
|
||||
std::vector<byte> header; // size must always be 8
|
||||
std::vector<byte> body;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user