#pragma once #include namespace drp::packet::search { /** * Represent a discovery request. * Sent by someone to get information about other available machine in the network. */ class SearchPacketData { public: [[nodiscard]] std::vector serialize() const; static SearchPacketData deserialize(std::vector& data); std::chrono::time_point timestamp; /// timestamp when the search request was sent }; }