next up previous contents index
Next: 31.1 The class Application Up: 6. Application Previous: 6. Application

31. Applications and transport agent API

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

Figure 31.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.