removed NTCP

This commit is contained in:
orignal 2020-10-03 21:58:20 -04:00
parent d595006d1f
commit faae2709d9
9 changed files with 30 additions and 1677 deletions

View file

@ -1435,7 +1435,7 @@ namespace transport
{
auto timer = std::make_shared<boost::asio::deadline_timer>(GetService());
auto timeout = NTCP_CONNECT_TIMEOUT * 5;
auto timeout = NTCP2_CONNECT_TIMEOUT * 5;
conn->SetTerminationTimeout(timeout * 2);
timer->expires_from_now (boost::posix_time::seconds(timeout));
timer->async_wait ([conn, timeout](const boost::system::error_code& ecode)