1 Introduction
来源:互联网 发布:winhex手工提取数据 编辑:程序博客网 时间:2024/05/21 22:21
1 layering
networkingprotocols are normally developed in layers, with each layer responsible for adifferent facet of the communications.
Responsibility ofeach layer
1) linklayer(data-link layer | network interface layer)
includes:thedevice driver in the os and the corresponding network interface card in thecomputer.
handle:allthe hardware details of physically interfacing with the cable.
2) networklayer(internet layer)
handle:themovement of packets around the network
3)transport layer
handle:dataflow between two hosts
4)application layer
handle:thedetails of the particular application.
twonetworks connected with a router
2 TCP/IP layering
variousprotocols at the different layers in the TCP/IP protocol suite
TCP:provides areliable transport layer,even though the service it uses(IP) is unreliable.
UDP:sends andreceives datagrams for applications.
IP: the mainprotocol at the network layer which is used by both udp and tcp.
ICMP:used by IPlayer to exchange error messages and other vital information with the IP layerin another host or router.
IGMP:the internetgroup management protocol , used with multicasting.
ARP and RARP:usedby certain types of network interface to convert between the addresses used bythe IP layer and the addresses used by the network interface.
3 Internetaddresses
Everyinterface on an internet must have a unique Internet address(IP address).
Three typesof IP addresses:unicast, broadcast, multicast.
4 Encapsulation
Encapsulation of data as it goes down the protocol stack
5 Client-Servermodel
steps foriterative server:
1) wait fora client request to arrive
2) processthe client request
3) send theresponse back to the client that sent the request
4) go backto step1
steps forconcurrent server:
1) wait fora client request to arrive
2) start anew server to handle this client's request.when complete, this new serverterminates.
3) go backto 1
6 Port number
the wellknown port numbers are contained in the file /etc/services
commandexample:
#cat /etc/services
#grep telnet /etc/services
7 RFCs
All theofficial standards in the internet community are published as a Request forComment.Each RFC is identified by a number(the higher, the newer).
You can find theinformation needed here: http://www.rfc-editor.org/
- 1 Introduction
- 1 introduction
- 1、introduction
- (1)Introduction
- 1-Introduction
- 1-INTRODUCTION
- 1- Introduction
- [suykens] 1 Introduction
- HMM学习(1)-introduction
- Design Pattern:1 introduction
- WCF Introduction (1)
- introduction u-boot(1)
- Introduction to JAXB (1)
- CMake Introduction 1
- Makefile 学习(1):Introduction
- Shell scripting 1 - introduction
- !!!Chapter 1 Introduction
- !!!Chapter 1 Introduction
- Windows 7 中的 God Mode
- C++ 多重继承与虚继承
- java枚举案例
- Spring中使用JavaMail
- strncpy和strcpy的用法区别
- 1 Introduction
- POJ 1477 还是水!
- Oracle 导出/导入命令备份/学习
- C#.net关于生成html静态页面的问题 .
- vc中读取wav文件的时长和文件播放的几种方式
- 苹果CEO史蒂夫·乔布斯在斯坦福演讲(一)
- 背黑锅
- 苹果CEO史蒂夫·乔布斯在斯坦福演讲中英文对照(二)
- C# asp.net字符串加密解密