Auto reconnect to hubs.

Archived discussion about features (predating the use of Bugzilla as a bug and feature tracker)

Moderator: Moderators

Locked
Ziad_D
Posts: 3
Joined: 2004-09-20 09:14

Auto reconnect to hubs.

Post by Ziad_D » 2004-09-20 09:30

I would like to recommend an *auto-reconnect* feature to Hubs for DC ++

Here’s my dilemma. I tend to use DC ++, unattended. I could be at work, downstairs watching a movie or simply, sleeping. My DSL connection on occasion decides to disconnect and reconnect for no apparent reason. This all happens in less than 60 seconds and tends to occur once or maybe twice a month. Obviously the DC shares fail. But that’s not the problem. The problem is that DC ++ doesn’t reconnect to the hubs and subsequently cannot continue with the shares unless I reconnect manually.

Could this feature be implemented? (An apology if this has been discussed before.)

ZD

ivulfusbar
Posts: 506
Joined: 2003-01-03 07:33

Post by ivulfusbar » 2004-09-20 09:37

Code: Select all

 -- 0.06 2001-12-13 --
[snipped
* Automatic reconnections (to hubs and users)
[snipped]
In fact DC++ will reconnect to hubs unless it recives "banned" while loggin in. Only then it will not reconnect no more.
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.

Ziad_D
Posts: 3
Joined: 2004-09-20 09:14

Post by Ziad_D » 2004-09-20 09:42

I'm sorry but you've lost me. Is that a piece of code that I need to enter in the chat window ? (I'm a novice) ;)

Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 15:38

Post by Guitarm » 2004-09-20 09:52

No, no, that's a snipped from what's called changelog.txt.

This is a textfile (which comes with DC++ and resides in i'ts homefolder) that describes what has changed in the program.

Click on --> Help --> Change Log in DC++ and you'll see it

So what fusbar is saying is that this feature already exists.

Isn't that some good news huh? :wink:
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."

Ziad_D
Posts: 3
Joined: 2004-09-20 09:14

Post by Ziad_D » 2004-09-20 09:55

Great ! Thanks for that, I'll check it out tonight. Do you know whether this feature can be configured ? As far as I could tell it cannot be configured. This leads me to my final question, , whats the default reconnection time ?

Thanks for your answers guys !

Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 15:38

Post by Guitarm » 2004-09-20 10:14

changelog.txt(375):* Reconnect time is randomized a little to reduce stress on hub when everyone reconnects
changelog.txt(588): (i e hubs you're trying to reconnect to count as well, to avoid too many updates being sent to the hub). Also,
changelog.txt(668):* If DC++ receives "banned" during the login phase, it'll stop automatically reconnecting (nöjd nu, nev? =)
changelog.txt(1207):* Partially fixed the connection timeout bug (++ now correctly shows reconnection attempts...)
changelog.txt(1266):* Fixed a memory leak when reconnecting to hubs
changelog.txt(1394):* Fixed annoying reconnect bug
changelog.txt(1450):* Automatic reconnections (to hubs and users)
changelog.txt(1473):* Automatic reconnection attempts when no slots are available

readme.txt(219): * If DC++ receives "banned" during the login phase, it'll stop automatically reconnecting

No, not configurable from the app.

Happy? :)
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."

Gasman1015
Posts: 184
Joined: 2003-05-26 11:29
Location: UK

Post by Gasman1015 » 2004-09-20 13:26

DC++ only reconnects automatically to hubs set as a favourite.

View --> Favourite hubs
Always remember you're unique, just like everyone else.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-09-20 18:48

Gasman1015 wrote:DC++ only reconnects automatically to hubs set as a favourite.
Not correct. (Try it.)

Gasman1015
Posts: 184
Joined: 2003-05-26 11:29
Location: UK

Post by Gasman1015 » 2004-09-21 13:24

GargoyleMT wrote:
Gasman1015 wrote:DC++ only reconnects automatically to hubs set as a favourite.
Not correct. (Try it.)
Yes, I know no need to try it.

Mitigating circumstances:

1. Read the oringinal post incorrectly, me bad.. :oops:
2. Overworked
3. Underpaid
Always remember you're unique, just like everyone else.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-09-22 14:18

Gasman1015 wrote:Mitigating circumstances:
Ah, ok. Adding a hub will let you auto-reconnect to it once you start DC++. ;)

Locked