fix for use with latest version of asio

This commit is contained in:
Arvid Norberg 2007-01-29 07:37:32 +00:00
parent 69ef67d71e
commit c2a032be7a
1 changed files with 1 additions and 0 deletions

View File

@ -642,6 +642,7 @@ namespace libtorrent { namespace detail
m_listen_socket.reset();
break;
}
m_listen_socket->close();
m_listen_interface.port(m_listen_interface.port() + 1);
if (m_listen_interface.port() > m_listen_port_range.second)
{