40. Applications and transport agent API

Applications sit on top of transport agents in ns. There are two basic types of applications: traffic generators and simulated applications. Figure 40.1 illustrates two examples of how applications are composed and attached to transport agents. Transport agents are described in Part V (Transport).

Figure 40.1: Example of Application Composition

This chapter first describes the base Application../ns-2/app.h. Next, the transport API, through which applications request services from underlying transport agents, is described. Finally, the current implementations of traffic generators and sources are explained.


Tom Henderson 2011-11-05