added support to bind outgoing connections to specific ports (might be useful to do traffic shaping)

This commit is contained in:
Arvid Norberg
2008-02-28 07:34:07 +00:00
parent e48e52770b
commit 9d3b60edb7
9 changed files with 102 additions and 7 deletions

View File

@@ -585,7 +585,8 @@ namespace libtorrent
#if defined TORRENT_LOGGING || defined TORRENT_VERBOSE_LOGGING
if (candidate != m_peers.end())
{
(*m_torrent->session().m_logger) << "*** FOUND CONNECTION CANDIDATE ["
(*m_torrent->session().m_logger) << time_now_string()
<< " *** FOUND CONNECTION CANDIDATE ["
" ip: " << candidate->second.ip <<
" d: " << min_cidr_distance <<
" external: " << external_ip <<