mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use boost::asio::address for address
This commit is contained in:
parent
224b423522
commit
2d428fd090
6 changed files with 10 additions and 10 deletions
|
@ -517,10 +517,10 @@ namespace ntcp
|
|||
}
|
||||
|
||||
|
||||
NTCPClient::NTCPClient (boost::asio::io_service& service, const char * address,
|
||||
NTCPClient::NTCPClient (boost::asio::io_service& service, boost::asio::ip::address& address,
|
||||
int port, i2p::data::RouterInfo& in_RouterInfo):
|
||||
NTCPSession (service, in_RouterInfo),
|
||||
m_Endpoint (boost::asio::ip::address::from_string (address), port)
|
||||
m_Endpoint (address, port)
|
||||
{
|
||||
Connect ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue