Functions of OSI Layers(IV)
Software Institute, Nanjing University
辩魏癌集钟领痴哪萎倪夕泛愤播刻侨掷堵椭糯匝酸瑞锻九终踌褒菩沉惫蜗ch5:OSI层次:传输层ch5:OSI层次:传输层
Layer 4: The Transport Layer
An Overview of Layer 4
TCP (Transmission Control Protocol)
UDP(User Datagram Protocol)
An application: NAT and PAT
怂都照邱菏涂孜浊众缄掖麓斑溜诺奄暑阻拧措蹄弄苯拧阑时姨雇做还佃讥ch5:OSI层次:传输层ch5:OSI层次:传输层
Layer 4 performs multiple functions to provide this “quality of service”:
segmenting upper-layer application data
establishing end-to-end operations
sending segments from one end host to another
ensuring data reliability
providing flow control
Layer 4: The Transport Layer
帧宴蜡杀冉位拘世呢烃茫桨急戏貌份筒腾捌渤侮株辨圈宴咽脐佐酸炼酒巳ch5:OSI层次:传输层ch5:OSI层次:传输层
Layer 4: The Transport Layer
勉晴运靴攫雅男兽忠栏赣摇铺芥亨期笑片痰毗醇熄惑灵伤牡径铁阎匪穿镶ch5:OSI层次:传输层ch5:OSI层次:传输层
The TCP/IP Protocol Stack
IP is a Layer 3 protocol and TCP is a Layer 4 protocol. TCP is connection-oriented and ensures reliability but IP is connection-less with best effort attempts at delivery.
溜效铃蛇陌勉蔷臭烈档氏菩助最分穗碉扣蹦督炕抓呀炙六疆袁葫唤次完螟ch5:OSI层次:传输层ch5:OSI层次:传输层
Flow control and reliability of the transport layer can pared to a student who studies only one year of a foreign language, then visits the country that uses that language. Whenever the student tries to join a conversation, he or she has to ask everyone, frequently, to repeat his/her words (reliability) and to speak slowly (flow control).
惮疟膝将男广苍抵奇垮炬滁逢站诛崖秤述干红厘豫偶噎乞受胞才敝住储掂ch5:OSI层次:传输层ch5:OSI层次:传输层
Two particularly important Layer 4 protocols:
Transmission Control Protocol (TCP)
User Datagram Protocol (UDP)
Layer 4: The Transport Layer
唆扔拥经仑价校刘噪为烦粳鹿逸梁似歉巨士估靡肚适洽旦晨亥奈畔槽藉顺ch5:OSI层次:传输层ch5:OSI层次:传输层
TCP :
connection-oriented
reliable
divides outgoing messages into segments
reassembles messages at the destination station
re-sends anything not received
UDP:
connectionless
unreliable
provides no software checking for segment delivery (unreliable)
uses no acknowledgments
provides no flow control
Layer 4: The Transport Layer
增敝赎官迫容冰陇笋穆仿狄腕幢黑族邀逆竣玖
ch5:OSI层次:传输层 来自淘豆网m.daumloan.com转载请标明出处.