]> git.localhorst.tv Git - blank.git/blobdiff - src/net/Packet.hpp
tag packets withsequence numbers
[blank.git] / src / net / Packet.hpp
index d5479909bac38cbe6085e0e0ce4e95c1849d6c60..b7c8a5fa5aeb90d3b018cd2d791a771ff687f041 100644 (file)
@@ -16,8 +16,15 @@ struct Packet {
                LOGIN = 1,
        };
 
+       struct TControl {
+               std::uint16_t seq;
+               std::uint16_t ack;
+               std::uint32_t hist;
+       };
+
        struct Header {
                std::uint32_t tag;
+               TControl ctrl;
                std::uint8_t type;
        } header;