Config::ConnectWithoutContext("/NodeList/*/$ns3::PacketSink/Rx", MakeCallback(&Rx));
Config::ConnectWithoutContext("/NodeList/*/ApplicationList/*/$ns3::PacketSink/Rx", MakeCallback(&Rx));
ns3::PacketSink is accessible through the following paths with Config::Set and Config::Connect:
Thank you for replying
I tried your advice,
but there's no output result, yet.
Is there another problem?
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.