Why network like internet popular and reliability

本文解析了网络层级结构,从物理层到应用层的不同职责。介绍了TCP/IP与OSI模型的区别,并探讨了程序员如何利用socket机制进行连接处理而不必自行搭建网络堆栈。

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值