📄 node471.html
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by: Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>35. Applications and transport agent API</TITLE><META NAME="description" CONTENT="35. Applications and transport agent API"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node490.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node490.html"><LINK REL="previous" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html"><LINK REL="up" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html"><LINK REL="next" HREF="node472.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node472.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html8643" HREF="node472.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node472.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html8637" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html8631" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html8639" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html8641" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html8644" HREF="node472.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node472.html">35.1 The class Application</A><B> Up:</B> <A NAME="tex2html8638" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html">6 Application</A><B> Previous:</B> <A NAME="tex2html8632" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html">6 Application</A>   <B> <A NAME="tex2html8640" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html8642" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION07100000000000000000"></A><A NAME="chap:applications"></A><BR>35. Applications and transport agent API</H1><P>Applications sit on top of transport agents in . There are two basic typesof applications: traffic generators and simulated applications. Figure <A HREF="node471.html#fig:application" tppabs="http://www.isi.edu/nsnam/ns/doc/node471.html#fig:application">35.1</A> illustrates two examples of how applicationsare composed and attached to transport agents. Transport agents are describedin Part V (Transport).<P><DIV ALIGN="CENTER"><A NAME="fig:application"></A><A NAME="15984"></A><TABLE><CAPTION ALIGN="BOTTOM"><STRONG>Figure 35.1:</STRONG>Example of Application Composition</CAPTION><TR><TD><DIV ALIGN="CENTER">application</DIV></TD></TR></TABLE></DIV><P>This chapter first describes the base Application../ns-2/app.h. Next, the transport API, through which applications request services fromunderlying transport agents, is described. Finally, the current implementations of traffic generators and sources are explained. <P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html8645" HREF="node472.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node472.html">35.1 The class Application</A><LI><A NAME="tex2html8646" HREF="node473.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node473.html">35.2 The transport agent API</A><UL><LI><A NAME="tex2html8647" HREF="node474.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node474.html">35.2.1 Attaching transport agents to nodes</A><LI><A NAME="tex2html8648" HREF="node475.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node475.html">35.2.2 Attaching applications to agents</A><LI><A NAME="tex2html8649" HREF="node476.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node476.html">35.2.3 Using transport agents via system calls</A><LI><A NAME="tex2html8650" HREF="node477.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node477.html">35.2.4 Agent upcalls to applications</A><LI><A NAME="tex2html8651" HREF="node478.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node478.html">35.2.5 An example</A></UL><BR><LI><A NAME="tex2html8652" HREF="node479.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node479.html">35.3 The class TrafficGenerator</A><UL><LI><A NAME="tex2html8653" HREF="node480.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node480.html">35.3.0.0.1 Exponential On/Off</A><LI><A NAME="tex2html8654" HREF="node481.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node481.html">35.3.0.0.2 Pareto On/Off</A><LI><A NAME="tex2html8655" HREF="node482.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node482.html">35.3.0.0.3 CBR</A><LI><A NAME="tex2html8656" HREF="node483.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node483.html">35.3.0.0.4 Traffic Trace</A><LI><A NAME="tex2html8657" HREF="node484.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node484.html">35.3.1 An example</A></UL><BR><LI><A NAME="tex2html8658" HREF="node485.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node485.html">35.4 Simulated applications: Telnet and FTP</A><UL><LI><A NAME="tex2html8659" HREF="node486.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node486.html">35.4.0.0.1 Application/FTP</A><LI><A NAME="tex2html8660" HREF="node487.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node487.html">35.4.0.0.2 Application/Telnet</A></UL><BR><LI><A NAME="tex2html8661" HREF="node488.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node488.html">35.5 Applications objects</A><LI><A NAME="tex2html8662" HREF="node489.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node489.html">35.6 Commands at a glance</A></UL><!--End of Table of Child-Links--><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -