06Sep01=======================================================================
1. prevent nodes appearing as users from incoming PC16s
+2. Change ping averaging to be like TCP and become a smoothed RTT.
04Sep01=======================================================================
1. add delete/user command
03Sep01=======================================================================
for (@{$tochan->{pingtime}}) {
$st += $_;
}
- $tochan->{pingave} = $st / @{$tochan->{pingtime}};
+ if (@{$tochan->{pingtime}} == 1) {
+ $tochan->{pingave} = $t;
+ } else {
+ $tochan->{pingave} = $tochan->{pingave} + (($t - $tochan->{pingave}) / 8);
+ }
+# $tochan->{pingave} = $st / @{$tochan->{pingtime}};
}
}
}