[ndnSIM] [EXT] How to run a function on all nodes at the same time

Junxiao Shi shijunxiao at email.arizona.edu
Wed Apr 28 06:44:35 PDT 2021

Hi L

Have a look at the *ns-3 Manual*.
The answer is in *Events and Simulator* section.

Yours, Junxiao

On Wed, Apr 28, 2021, 09:35 L via ndnSIM <ndnsim at lists.cs.ucla.edu> wrote:

> *External Email*
> Hi, everyone,
>     I wrote a function that runs on the node. I want to be able to make
> all nodes run this function at the same time at a certain moment, and be
> able to count the results of the function operation (assuming it is an
> addition function, generate two random numbers every ten seconds on all
> nodes and add them, and then return the result). How should I do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210428/56d5e0d0/attachment.html>

More information about the ndnSIM mailing list