This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Port binding

Tags: None
(comma "," separated)
Nikolay
Registered Member
Posts
33
Karma
0

Port binding

Sat Oct 29, 2005 7:48 am
If I have any running torrent client on port 6881, when I start ktorrent it display me following message:

"Specified port (6881) is unavailable or in use by another application. KTorrent is bound to port 6882."

But when I try to download a torrent I found that in request to tracker it use port=6881.
George
Moderator
Posts
5421
Karma
1

Sat Oct 29, 2005 2:52 pm
What version are you using ?
Nikolay
Registered Member
Posts
33
Karma
0

Sat Oct 29, 2005 3:24 pm
I think I found where is the problem.

In the constructor of the KTorrent class is created the KTorrentCore obeject.
In the constructor of the KTorrentCore is set the new port and is displayed warning message.
But after creation of m_core object in the contructor of the KTorrent class is invoked function applySettings.
This function set the port to its default value:
m_core->changePort(Settings::port());
Nikolay
Registered Member
Posts
33
Karma
0

Sun Oct 30, 2005 10:24 am
George wrote:What version are you using ?

SVN code from 29.10.2005
George
Moderator
Posts
5421
Karma
1

Sun Oct 30, 2005 7:58 pm
You are right, it's fixed now, still need to commit it.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]