[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Re: [BUG] tcp-full.cc: ReassemblyQueue is broken



Hi, Richard,

> Finally, is there any way to request that NS dumps to a
> trace-file all the seeds used for any random number streams?
> Being unable to repeat the experiment that led to these results
> is very annoying.

Thanks a lot for the patches. And sorry for this late reply.

As for the seeds, if you new an RNG yourself, you can use "puts [$rng
seed]" immediately after you've seeded it to dump the seed to stdout. 

If you are using the default rng, you can get hold of it through global
otcl variable defaultRNG (defined in tcl/lib/ns-random.tcl).

- Haobo