aMule Forum
English => en_Bugs => Topic started by: myth on September 06, 2010, 07:14:36 PM
-
Does anybody else have this problem?
-
As far as I remember, yes. Stu reported it long ago, but fixing it is not trivial.
-
Shice!
-
Well, the 24h reconnect common with DSL is handled more or less gracefully (probably with an hour of bad performance or so). Network outages of a few hours or so aren't. After that aMule usually sits dumb and disconnected, even if network is back again.
(At least this is how I remember it from my DSL times, may they rest in pieces. :P)
But a GonoszTopi said, this is not trivial, and thus not in 2.3 (unless somebody comes up with a great patch...).
-
Connection check things cannot work because we can't ping for user right issues, right?
Something must be possible...
Maybe we can do a simple check when upload falls down to 0?
-
Can't we ping with a syscall like system(ping) ?
If it's not possible we could implement a own ping program for icmp!
-
Whom to ping? Another user? He might have gone offline since we last saw him... Or a fixed destination (like www.amule.org)? See Ping flood (http://en.wikipedia.org/wiki/Ping_flood)
A reasonable solution should
- decide when it should check for network connectivity
- properly select a more-or-less random (but still reliable) destination for the test
That's why I said it was not trivial.
-
Well, it could be useful looking at StulleMule sources, which has "connection check" ;)