Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Open firstanim_flowmetrics.xml
generated by your simulation program.”
A block of code is set as follows:
NodeContainer nodes; nodes.Create (2); PointToPointHelper pointToPoint; pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("1Gbps")); pointToPoint.SetChannelAttribute ("Delay", StringValue ("1ms"));
Any command-line input or output is written as follows:
$ ./ns3 run scratch/pkt_first_anim
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Next, click the Save button.”
Tips or important notes
Appear like this.