guibaraujo / ndn4ivc

A Framework for Simulations of Realistic VANETs Applications through NDN
6 stars 2 forks source link

BUG multicast fw - Nack problem in Vanet/Manet scenario #10

Closed guibaraujo closed 3 years ago

guibaraujo commented 3 years ago

Vanet scenarios work in ad hoc mode with high mobility, which implies that nodes should not generate NACKs, otherwise creating unexpected results.

a lambda function that express interests will only process a return for interest (nonce)

  m_face.expressInterest (interest, std::bind (&TmsConsumer::OnData, this, _1, _2),
                          std::bind (&TmsConsumer::OnNack, this, _1, _2),
                          std::bind (&TmsConsumer::OnTimedOut, this, _1));
guibaraujo commented 3 years ago