Hi,all. HelloTimer::handle(Event*) {
agent->sendHello(); double interval = MinHelloInterval + ((MaxHelloInterval - MinHelloInterval) * Random::uniform()); assert(interval >= 0); Scheduler::instance().schedule(this, &intr, interval); } Originally, I read from a book, saying the hello packet is sent every one second. But the code above says different. Now I am puzzled whether the hello packet is sent every one second or not?? Can anybody give me a detailed explanations!!