max simulation stop
parent
ba5e194d23
commit
275caf0540
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue