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

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.

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

时间: 2024-08-03 02:47:43

[Computer Networking] {CMU14-740} Lecture 9: The Transport Layer; UDP的相关文章

Computer Networking: A Top Down Approach

目录 {:toc} 这本书是计算机网络最好的入门书籍,与传统的计算机网络书籍不同,它采用了自顶而下的方式去讲解.感谢两位十分出色的作者:Jim Kurose和Keith Ross, 他们生动的叙述方式使我觉得计算机网络如此有趣.单单引用文献就有33页,我十分佩服这么严谨又有耐心的人. Keep those cards and letters coming! --谚语 Chapter 1: Computer Networks and the Internet 计算机网络的概览,描绘了这本书蓝图.b

Computer Networking: Network layer

Forwarding and routing 2 important network-layer functions – forwarding and routing. Forwarding: The router-local action of transferring a packet from an input link interface to the appropriate output link interface (within a single router). Terms 'f

Computer Networking | Personal Notes | Temp

快速吸收这些知识,然后进行思考整合记忆.然后学习更高阶的知识,不断升级. Basics of Computer Networking Open system: 也就是连接到网络中的系统.可以进行通信. Closed system: 没有连接到网络中的系统.不可以进行通信. network topology: 在中文中,topology意思是拓扑,也就是网络设备之间的排列方式.有星型的排列方式.P2P排列方式(也就是点对点的排列方式).环状排列方式等等,下图还列举了很多topology,可以将图中

Network 3: Transport Layer

Some of the primary issues regarding the transport layer are listed in the following picture. In Internet, there are two dominant transport layer protocols. One is User Datagram Protocol (UDP), an unreliable service that can only implement multiplexi

Transport layer and Network layer

http://stackoverflow.com/questions/13333794/networking-difference-between-transport-layer-and-networking-layer Transport Layer: The fourth and “middle” layer of the OSI Reference Model protocol stack is the transport layer. I consider the transport l

网络安全——传输层安全协议(Transport Layer Security) TLS/SSL

网络安全——传输层安全协议(Transport Layer Security) TLS/SSL 1. 综述 TLS/SSL用于认证和加密. TLS/SSL的核心在于公钥和私钥,公钥在安全证书中. 公钥和私钥成对出现,通信个体的公钥公开,私钥则严格保密,只有自己知道:有下面的特性: 1. 公钥加密的数据只能由私钥解密: 2. 私钥加密的数据只能由公钥解密. A用私钥加密后,其他人尝试用A的公钥解密可以判断是否是A发出的数据:发给A的数据用A的公钥加密,则只有A能读取. 2. 对称密码和非对称密码

Host Controller transport layer and AMPs

The logical Host Controller Interface does not consider multiplexing/routing over the Host Controller Transport Layer(s). The Host designer must consider this in deciding which of the multiple controller configurations it will support. Each logical A

SSL/TLS(Secure Sockets Layer / Transport Layer Security)

# 协议概述 缩写 名称 默认端口 安全策略 描述 HTTP Hyper Text Transfer Protocol(超文本传输协议) TCP80 HTTP 协议是明文的,传输内容会被嗅探和篡改. 客户端浏览器或其他程序与Web服务器之间的应用层通信协议 SSL/TLS Secure Sockets Layer(安全套接层)Transport Layer Security(传输层安全) TCP443 1)认证用户和服务器,确保数据发送到正确的客户机和服务器: 2)加密数据以防止数据中途被窃取:

3-Transport Layer

?Please indicate the source: http://blog.csdn.net/gaoxiangnumber1 Welcome to my github: https://github.com/gaoxiangnumber1 3.1 Introduction and Transport-Layer Services A transport-layer protocol provides for logical communication between application