opendht-2.1.4/src/node.cpp
/** To be called when a message was received from the node.
 Req should be true if the message was an aswer to a request we made*/
To be called when a message was received from the node.
Req should be true if the message was an aswer to a request we made
To be called when a message was received from the node . Req should be true if the message was an aswer to a request we made
void
Node::received(time_point now, const Sp<net::Request>& req)
{
    time = now;
    expired_ = false;
    if (req) {
        reply_time = now;
        requests_.erase(req->getTid());
    }
}
void Node :: received ( time_point now , const Sp < net :: Request > & req ) { time = now ; expired_ = false ; if ( req ) { reply_time = now ; requests_ . erase ( req -> getTid ( ) ) ; } }
To be called when a message was received from the node.
To be called when a message was received from the node .