码迷,mamicode.com
首页 > Web开发 > 详细

[Computer Networking] {CMU14-740} Lecture 9: The Transport Layer; UDP

时间:2019-06-03 12:41:33      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:about   protoc   between   pdf   http   log   bin   design   --   

This is the first lecture in a series exploring the Transport layer. This layer is responsible for logical communication between applications running on (usually) different hosts. As such, it is designed with careful consideration for the requirements of a class of applications. Because of the diversity in applications, there is a need for several different types of transport protocols. This lecture will take a look at the simplest such transport protocol -- the User Datagram protocol or UDP. UDP is useful for situations where the application cannot allow for the delays inherent in other reliable transport protocols. UDP itself has no packet-to-packet reliability (it does have checksums to allow for error determination), so applications making use of UDP either do not have need of reliable communication or they prefer to provide more custom reliability services.

 

技术图片

A logical connection between network hosts

 

Lesson Objectives

By the end of this lesson, the student will be able to:

  • describe the mission, scope, addressing mechanism, data types and responsibilities of the Transport Layer.
  • explain UDP, including advantages/disadvantages, segment format, and reliability assumptions.
  • calculate the checksum of a UDP segment.

Reading

  • KR Ch 3.1 - 3.3

Slides

Video

 


 


 

 

 

技术图片

 

 

 技术图片

lower than his hoping :(

 

技术图片

技术图片

 

 (just for fun, since I have no access to the quiz)

http://www.ini740.rocks/F18/lectures/class_9.html



 

 

 

技术图片

 

 

技术图片

at transport layer, we dont have to worry about what‘s going on with routers, and network layer will handle it.

技术图片

 

single App

技术图片

multiple Apps

技术图片

in transport layer => port number for each app 

 

 

 技术图片

技术图片

oftentimes, there‘s an API called "bind".

 

 

 技术图片

 

 技术图片

segment header => 8 bytes

 

 

 技术图片

 

 技术图片

max size of a segment is 8KB??

 

 技术图片

 

 

技术图片

 

 

技术图片

 

 

 

 

 


 

 

 

Layer 4: Transport Layer

https://www.cnblogs.com/ecoflex/p/10961831.html

The transport layer provides the functions and means of transferring data sequences from a source to a destination host via one or more networks, while maintaining the quality of service (QoS) functions and ensure the complete delivery of the data. The integrity of the data can be guaranteed via error correction and similar functions. It can also provide explicit flow control function. Though not strictly conforming to the OSI model, the TCP and User Datagram Protocols (UDP) are essential protocols in layer 4.

 

[Computer Networking] {CMU14-740} Lecture 9: The Transport Layer; UDP

标签:about   protoc   between   pdf   http   log   bin   design   --   

原文地址:https://www.cnblogs.com/ecoflex/p/10966478.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!