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

Figure: 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

Tom Henderson 2014-12-17