examples/mesh.cc
changeset 5146 9e0edb76a8c7
parent 5145 7f50ab7ce59d
child 5152 f14eff131d13
equal deleted inserted replaced
5145:7f50ab7ce59d 5146:9e0edb76a8c7
   177   InstallInternetStack ();
   177   InstallInternetStack ();
   178   InstallApplication ();
   178   InstallApplication ();
   179   Simulator::Schedule (Seconds(totalTime), & MeshTest::Report, this);
   179   Simulator::Schedule (Seconds(totalTime), & MeshTest::Report, this);
   180   Simulator::Stop (Seconds (totalTime));
   180   Simulator::Stop (Seconds (totalTime));
   181   Simulator::Run ();
   181   Simulator::Run ();
   182   std::cerr << "finish success\n";
       
   183   Simulator::Destroy ();
   182   Simulator::Destroy ();
   184   return 0;
   183   return 0;
   185 }
   184 }
   186 void
   185 void
   187 MeshTest::Report ()
   186 MeshTest::Report ()