Promptly starting/stopping applications

19 views
Skip to first unread message

Varun Reddy

unread,
Jun 28, 2017, 1:24:49 PM6/28/17
to ns-3-users
In NS3, it seems like an application has a predefined start time and stop time. Is there a way to stop an application during runtime (during a trace firing, for instance)?

Thanks,
Varun

Konstantinos

unread,
Jun 28, 2017, 5:29:39 PM6/28/17
to ns-3-users
Hi,

Yes, check the Api for the application class. It has a Stop() method that you can call whenever you want.

Reply all
Reply to author
Forward
0 new messages