在前面的讨论和介绍中,我们知道要做网络方面的应用开发,必须了解网络的体系,极其相关的知识。特别是对协议部分的理解,对理论的理解,为我们后期的应用开发提供非常有力的支持,来指导我们。
对网络部分的学习和理解,前面几部分会做独立的介绍,在有一定的理解认识后,然后和实际的开发示例结合起来,帮助我们更快的了解。深入体会协议部分。特别是对Data Linker Layer,Network Layer,Transposrt Layer 极其以上的应用,表示层。
网络里边需要了解的非常多,我们只了解开发需要使用到的部分,有兴趣的朋友可以参考相关文档。对这么庞大的网络系统,不同网络之间互通信息,我们是怎么实现的。常用的局域网(LAN)技术,广域网(WAN)技术。都需要我们有个比较深刻的认识。个人感觉首先了解LAN技术特别重要,对于我们要开发的网络应用是一个特别重要的理论指导。有一些基础后,在了解WAN。恩,好拉,让我们慢慢的一起讨论吧。
让我们从OSI,TCP/IP来对网络进行了解吧。
通过以上Figure 1-1,我们可以看出各层应用及其协议的分布位置工作于那层。
接下来,会对各层作用做个简单的描述。
Defining the Layers
Because almost all protocols are based on the OSI model, it is important to
completely understand how the model operates, and to understand the protocols,
you must first understand the framework. The following sections explain
the seven layers in more detail, and Figure 1-1 gives examples of protocols that
reside at each layer.
<