IPv6 fixes

This commit is contained in:
Arvid Norberg
2007-02-27 17:21:46 +00:00
parent 7be41a5c8a
commit c40a75f844
3 changed files with 5 additions and 4 deletions

View File

@@ -616,7 +616,7 @@ namespace libtorrent { namespace detail
{
try
{
m_listen_socket->open(asio::ip::tcp::v4());
m_listen_socket->open(m_listen_interface.protocol());
m_listen_socket->bind(m_listen_interface);
m_listen_socket->listen();
break;