mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 22:22:31 +00:00
Added "-b" for binding the listening ip addresse.
Throw an error if no listening port is opened. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@386 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+3
-1
@@ -48,7 +48,9 @@ Manager::initialize() {
|
||||
CurlStack::init();
|
||||
|
||||
torrent::initialize();
|
||||
torrent::listen_open(m_portFirst, m_portLast);
|
||||
|
||||
if (!torrent::listen_open(m_portFirst, m_portLast, m_listenIp))
|
||||
throw std::runtime_error("Could not open port for listening.");
|
||||
|
||||
// Register log signals.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user