next up previous contents index
Next: 39.1 The class Application Up: 6 Application Previous: 6 Application   Contents   Index


39. 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 39.1 illustrates two examples of how applications are composed and attached to transport agents. Transport agents are described in Part V (Transport).

Figure 39.1: Example of Application Composition
\includegraphics{application}

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.



Subsections

2008-10-11