sat-http-example.cc File Reference

Example of using HTTP traffic model in a satellite network. More...

#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/satellite-module.h"
#include "ns3/traffic-module.h"
+ Include dependency graph for sat-http-example.cc:

Go to the source code of this file.

Detailed Description

Example of using HTTP traffic model in a satellite network.

One HTTP server application is installed in the first GW user. Then one HTTP client application is installed in each UT user, configured to point to the server. TCP protocol is used between the applications.

By default, the SIMPLE test scenario is used. Another test scenario can be given from command line as user argument, e.g.:

$ ./waf --run="sat-http-example --scenario=larger"
$ ./waf --run="sat-http-example --scenario=full"

Simulation runs for 1000 seconds by default. This can be changed from the command line argument as well, e.g.:

$ ./waf --run="sat-http-example --duration=500"

To see help for user arguments:

$ ./waf --run "sat-http-example --PrintHelp"

Definition in file sat-http-example.cc.