git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@580
e16421f0-f15b-0410-abcd-
98678b794739
this->id = channels.size();
channels.push_back(this);
cc_ = new PingPongController(this);
+ dprintf("%s #%i init %s\n",tintstr(),id,peer_.str().c_str());
Schedule(NOW); // FIXME ugly
}
/** Messages we are accepting. */
uint64_t cap_out_;
+
+ tint init_time_;
protected:
void OnDataIn (bin64_t pos);
files[fd()] = this;
picker_ = new SeqPiecePicker(this);
picker_->Randomize(rand()&63);
+ init_time_ = Datagram::Time();
}