create and handle Address block

This commit is contained in:
orignal 2022-03-16 13:13:31 -04:00
parent 33645d7f09
commit 7473d8c9aa
2 changed files with 76 additions and 6 deletions

View file

@ -94,6 +94,8 @@ namespace transport
void SendSessionCreated (const uint8_t * X);
void HandlePayload (const uint8_t * buf, size_t len);
bool ExtractEndpoint (const uint8_t * buf, size_t size, boost::asio::ip::udp::endpoint& ep);
size_t CreateAddressBlock (const boost::asio::ip::udp::endpoint& ep, uint8_t * buf, size_t len);
private: