max simulation stop

main
EmaMaker 2023-12-28 10:34:14 +00:00
parent ba5e194d23
commit 275caf0540
1 changed files with 4 additions and 3 deletions

View File

@ -221,13 +221,13 @@ int main(int argc, char* argv[])
/* ######################################################## */
/* IP Addresses*/
// InternetStackHelper for everyone!
InternetStackHelper stack;
stack.Install(allNodes);
// TODO: assign IP address to subnets
/* ######################################################## */
/* Applications*/
// InternetStackHelper for everyone!
InternetStackHelper stack;
stack.Install(allNodes);
// TODO: applications (Tcp burst, udp echo)
// TCP Burst
// UDP Echo server
@ -242,6 +242,7 @@ int main(int argc, char* argv[])
}
/* ######################################################## */
Simulator::Stop(Seconds(15));
Simulator::Run();
Simulator::Destroy();