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

Add SO_REUSEADDR??

Tags: None
(comma "," separated)
ricce_n
Registered Member
Posts
36
Karma
0

Add SO_REUSEADDR??

Thu Jan 26, 2006 11:00 pm
When I for some reson need to restart KTorrent i also need to wait a few minutes for the netvork stack to clear so I can use the same port again...

Shulden't it be a god idéa to add SO_REUSEADDR to the socket options so I can restart KTorrent without waiting.
George
Moderator
Posts
5421
Karma
1

Fri Jan 27, 2006 11:36 am
That should be set by the socket classes, I will verify this when I get home.

Did you compile with --enable-knetwork as a configure option ?
George
Moderator
Posts
5421
Karma
1

Fri Jan 27, 2006 5:37 pm
I made sure it gets set, by explicitly setting it. No more relying on Qt to do it.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]