goto folder
now run the command
Here nPackets is number of packets you want to specify
Here try_first.cc is file and you run try_first
To view contents of trace file(.pcap), either use tools like wireshark or run
and so on for all the nodes
It is of the format
These files are created in parent directory
Visual animation is run on netanim. Run ./Netanim in netanim folder. Then choose the .xml when UI appears. xml file is created by the code.