mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
moved NTCP client code to Transports
This commit is contained in:
parent
6c13ad78a5
commit
0ccb66476e
4 changed files with 34 additions and 54 deletions
|
@ -82,6 +82,9 @@ namespace transport
|
|||
void PostMessage (const i2p::data::IdentHash& ident, i2p::I2NPMessage * msg);
|
||||
void PostCloseSession (std::shared_ptr<const i2p::data::RouterInfo> router);
|
||||
|
||||
void Connect (const boost::asio::ip::address& address, int port, NTCPSession * conn);
|
||||
void HandleConnect (const boost::system::error_code& ecode, NTCPSession * conn);
|
||||
|
||||
void DetectExternalIP ();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue