PointToPointHelper.EnableAsciiAll("first.tr");
> --
> You received this message because you are subscribed to the Google Groups
> "ns-3-users" group.
> To post to this group, send email to ns-3-...@googlegroups.com.
> To unsubscribe from this group, send email to
> ns-3-users+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/ns-3-users?hl=en.
>
pointToPoint.EnableAsciiAll ("first.tr");
[ ... ]
There are probably dozens of examples of how this is done in the ns-3
examples. Try doing something like,
cd ns-3-dev
find . -name '*.cc' | xargs grep EnableAsciiAll
and you will find your answer. You need to do something like,
p2p.EnableAsciiAll (ascii.CreateFileStream ("tcp-large-transfer.tr"));
You are currently trying to use an old ASCII trace API that was in place
prior to ns-3.8 which no longer works.
Look at the examples.
-- Craig