moved NTCP client code to Transports

This commit is contained in:
orignal 2014-11-25 15:16:03 -05:00
parent 6c13ad78a5
commit 0ccb66476e
4 changed files with 34 additions and 54 deletions

View file

@ -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: