--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
void MyApp::Method(Ptr<packet>);
I think the Schedule call should be:
Simulator::Schedule(seconds(timeSlot), &MyApp::Method, this, packet);
Notice that you have to give the (normally implicit) "this" argument, as well as the explicit "packet" argument.
Peter