incoming ipv6 connections

This commit is contained in:
orignal 2014-10-27 15:08:50 -04:00
parent 7fb7341502
commit f2434d66fc
7 changed files with 74 additions and 4 deletions

View file

@ -623,6 +623,8 @@ namespace transport
else
{
LogPrint ("Connected");
if (GetSocket ().local_endpoint ().protocol () == boost::asio::ip::tcp::v6()) // ipv6
context.UpdateV6Address (GetSocket ().local_endpoint ().address ().to_string ());
ClientLogin ();
}
}