版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、Lecture 5: The Transport Layer (Basic Principles),Advanced Computer Network,Yang Qin Department of Computer Science Shenzhen Graduate School Harbin Institute of Technology,The Transport Service,Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of Socket P
2、rogramming: An Internet File Server,Services Provided to the Upper Layers,The network, transport, and application layers.,Transport Service Primitives,The primitives for a simple transport service.,Transport Service Primitives (2),The nesting of TPDUs, packets, and frames.,Transport Service Primitiv
3、es (3),A state diagram for a simple connection management scheme. Transitions labeled in italics are caused by packet arrivals. The solid lines show the clients state sequence. The dashed lines show the servers state sequence.,Berkeley Sockets,The socket primitives for TCP.,Socket Programming Exampl
4、e:Internet File Server,Client code using sockets.,6-6-1,Socket Programming Example:Internet File Server (2),Server code using sockets.,Elements of Transport Protocols,Addressing Connection Establishment Connection Release Flow Control and Buffering Multiplexing Crash Recovery,Transport Protocol,(a)
5、Environment of the data link layer. (b) Environment of the transport layer.,Addressing,TSAPs, NSAPs and transport connections.,Connection Establishment,How a user process in host 1 establishes a connection with a time-of-day server in host 2.,Connection Establishment (cont.),Three protocol scenarios
6、 for establishing a connection using a three-way handshake. CR denotes CONNECTION REQUEST. (a) Normal operation, (b) Old CONNECTION REQUEST appearing out of nowhere. (c) Duplicate CONNECTION REQUEST and duplicate ACK.,Connection Release,Abrupt disconnection with loss of data.,Connection Release (2),
7、The two-army problem.,Connection Release (3),Four protocol scenarios for releasing a connection. (a) Normal case of a three-way handshake. (b) final ACK lost.,6-14, a, b,Connection Release (4),(c) Response lost. (d) Response lost and subsequent DRs lost.,6-14, c,d,Flow Control and Buffering,(a) Chai
8、ned fixed-size buffers. (b) Chained variable-sized buffers. (c) One large circular buffer per connection.,Multiplexing,(a) Upward multiplexing. (b) Downward multiplexing.,Crash Recovery,Different combinations of client and server strategy.,A Simple Transport Protocol,The Example Service Primitives T
9、he Example Transport Entity The Example as a Finite State Machine,The Example Transport Entity,The network layer packets used in our example.,The Example Transport Entity (2),Each connection is in one of seven states: Idle Connection not established yet. Waiting CONNECT has been executed, CALL REQUE
10、ST sent. Queued A CALL REQUEST has arrived; no LISTEN yet. Established The connection has been established. Sending The user is waiting for permission to send a packet. Receiving A RECEIVE has been done. DISCONNECTING a DISCONNECT has been done locally.,The Example as a Finite State Machine (2),The
11、example protocol in graphical form. Transitions that leave the connection state unchanged have been omitted for simplicity.,The Real-Time Transport Protocol (2),The RTP header.,Performance Issues,Performance Problems in Computer Networks Network Performance Measurement System Design for Better Perfo
12、rmance Fast TPDU Processing Protocols for Gigabit Networks,Performance Problems in Computer Networks,The state of transmitting one megabit from San Diego to Boston (a) At t = 0, (b) After 500 sec, (c) After 20 msec, (d) after 40 msec.,Network Performance Measurement,The basic loop for improving network performance. Measure relevant network parameters, performance. Try to understand what is going on. Change one parameter.,System Design for Better Performance,Rules: CPU speed is more important than network speed. Reduce packe
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 河源員工膳食管理制度(3篇)
- 天梯樓梯施工方案(3篇)
- 2026山東青島平度市事業(yè)單位招聘36人參考考試題庫及答案解析
- 2026江西撫州市樂安縣屬建筑工程有限公司招聘2人(臨聘崗)筆試參考題庫及答案解析
- 2026年商洛市洛南縣婦幼保健院招聘(4人)參考考試題庫及答案解析
- 2026中國天津人力資源開發(fā)服務(wù)中心招聘參考考試題庫及答案解析
- 肝硬化患者營養(yǎng)支持的護(hù)理配合
- 2026甘肅隴南市宕昌縣有關(guān)單位招聘公益性崗位人員25人備考考試題庫及答案解析
- 2026江蘇蘇州大學(xué)科研助理崗位招聘7人筆試備考試題及答案解析
- 2026廈門象嶼集團(tuán)有限公司冬季校園招聘備考考試題庫及答案解析
- 幼兒階段口才能力培養(yǎng)課程設(shè)計
- 職高一年級《數(shù)學(xué)》(基礎(chǔ)模塊)上冊試題題庫
- JG/T 367-2012建筑工程用切(擴(kuò))底機(jī)械錨栓及后切(擴(kuò))底鉆頭
- 國家職業(yè)標(biāo)準(zhǔn) 6-11-01-03 化工總控工S (2025年版)
- 公共安全視頻監(jiān)控建設(shè)聯(lián)網(wǎng)應(yīng)用(雪亮工程)運(yùn)維服務(wù)方案純方案
- 定額〔2025〕2號文-關(guān)于發(fā)布2020版電網(wǎng)技術(shù)改造及檢修工程概預(yù)算定額2024年下半年價格
- 安全生產(chǎn)標(biāo)準(zhǔn)化與安全文化建設(shè)的關(guān)系
- DB31-T 1502-2024 工貿(mào)行業(yè)有限空間作業(yè)安全管理規(guī)范
- DL-T5054-2016火力發(fā)電廠汽水管道設(shè)計規(guī)范
- 2022版義務(wù)教育(物理)課程標(biāo)準(zhǔn)(附課標(biāo)解讀)
- 神經(jīng)外科介入神經(jīng)放射治療技術(shù)操作規(guī)范2023版
評論
0/150
提交評論