mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 20:27:49 +02:00
common ExtractIPAddressAndPort
This commit is contained in:
parent
ef1dfb153c
commit
a9c7d0d598
2 changed files with 46 additions and 50 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue