common ExtractIPAddressAndPort

This commit is contained in:
orignal 2021-03-18 20:11:24 -04:00
parent ef1dfb153c
commit a9c7d0d598
2 changed files with 46 additions and 50 deletions

View file

@ -145,6 +145,8 @@ namespace transport
void Reset ();
static size_t ExtractIPAddressAndPort (const uint8_t * buf, size_t len, boost::asio::ip::address& ip, uint16_t& port); // returns actual buf size
private:
friend class SSUData; // TODO: change in later