Hierarchy in Network
1. Physical Layer is the basic, for transfer signal bit from one machine to another.
2. Link Layer is dealing with collision for sharing physical layer.
3. Network Layer is building scalable network exert sub-network in filtering and forwarding.
4. Up Layer is for convenience programmer coding, such as Port in process.
From mention before, network is clearly separate into several layers with different character. In TCP/IP it can separate into three layers and the OSI is seven layers. But as a programmer over operating system, we exploit socket mechanism for processing connection without setup our own network stack, like I have mentioned layers. Yet, known more about the detail of network is also helpful to develop a correct network programme.
本文解析了网络层级结构,从物理层到应用层的不同职责。介绍了TCP/IP与OSI模型的区别,并探讨了程序员如何利用socket机制进行连接处理而不必自行搭建网络堆栈。

312

被折叠的 条评论
为什么被折叠?



