node473.html
来自「相关搜索: ns2仿真结果分析 all-awk ns2 ns2 无限网络中awk」· HTML 代码 · 共 107 行
HTML
107 行
<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.2 The transport agent API</TITLE><META NAME="description" CONTENT="35.2 The 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="node479.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node479.html"><LINK REL="previous" HREF="node472.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node472.html"><LINK REL="up" HREF="node471.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node471.html"><LINK REL="next" HREF="node474.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node474.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html8689" HREF="node474.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node474.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html8683" HREF="node471.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node471.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html8677" HREF="node472.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node472.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html8685" 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="tex2html8687" 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="tex2html8690" HREF="node474.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node474.html">35.2.1 Attaching transport agents</A><B> Up:</B> <A NAME="tex2html8684" HREF="node471.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node471.html">35. Applications and transport</A><B> Previous:</B> <A NAME="tex2html8678" HREF="node472.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node472.html">35.1 The class Application</A>   <B> <A NAME="tex2html8686" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html8688" 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="SECTION07120000000000000000">35.2 The transport agent API</A></H1>In real-world systems, applications typically access network services throughan applications programming interface (API). The most popularof these APIs is known as ``sockets.'' In , we mimic the behavior of thesockets API through a set of well-defined API functions. These functions are then mapped to the appropriate internal agent functions (e.g.,a call to <TT>send(numBytes)</TT> causes TCP to increment its ``send buffer'' by a corresponding number of bytes).<P>This section describes how agents and applications are hooked together andcommunicate with one another via the API.<P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html8691" 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="tex2html8692" HREF="node475.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node475.html">35.2.2 Attaching applications to agents</A><LI><A NAME="tex2html8693" 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="tex2html8694" HREF="node477.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node477.html">35.2.4 Agent upcalls to applications</A><LI><A NAME="tex2html8695" HREF="node478.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node478.html">35.2.5 An example</A></UL><!--End of Table of Child-Links--><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?