YOMEDIA
Bài giảng Chapter 5: Transport Layer UDP and TCP
Chia sẻ: Trung Trung
| Ngày:
| Loại File: PPT
| Số trang:59
60
lượt xem
3
download
Download
Vui lòng tải xuống để xem tài liệu đầy đủ
Chapter 5: Transport Layer UDP and TCP. Overview of Transport Layer, UDP Protocol, UDP Protocol, types of data deliveries, port numbers, IP addresses versus port numbers, IANA ranges, socket, address, Multiplexing and demultiplexing, error control, position of UDP, TCP, and SCTP in TCP/IP suite.
AMBIENT/
Chủ đề:
Nội dung Text: Bài giảng Chapter 5: Transport Layer UDP and TCP
- Chapter 5
Transport Layer:
UDP and TCP
1
- Outline
Overview of Transport Layer
UDP Protocol
TCP Protocol
2
- PROCESSTOPROCESS DELIVERY
The transport layer is responsible for processto
process delivery—the delivery of a packet, part of a
message, from one process to another. Two processes
communicate in a client/server relationship, as we will
see later.
3
- Note
The transport layer is responsible for
process-to-process delivery.
4
- Note
The transport layer tasks include:
5
- Types of data deliveries
6
- Port numbers
7
- IP addresses versus port numbers
8
- IANA ranges
9
- Socket address
10
- Multiplexing and demultiplexing
11
- Error control
12
- Position of UDP, TCP, and SCTP in TCP/IP suite
13
- USER DATAGRAM PROTOCOL (UDP)
The User Datagram Protocol (UDP) is called a
connectionless, unreliable transport protocol. It does
not add anything to the services of IP except to provide
processtoprocess communication instead of hostto
host communication.
Topics discussed in this section:
WellKnown Ports for UDP
User Datagram
Checksum
UDP Operation
Use of UDP
14
- Wellknown ports used with UDP
15
- Example
In UNIX, the wellknown ports are stored in a file
called /etc/services. Each line in this file gives the name
of the server and the wellknown port number. We can
use the
grep utility to extract the line corresponding to the desired
application. The following shows the port for FTP. Note
that FTP can use port 21 with either UDP or TCP.
16
- Example (continued)
SNMP uses two port numbers (161 and 162), each for a
different purpose, as we will see in Chapter 28.
17
- User datagram format
18
- Note
UDP length
= IP length – IP header’s length
19
- Pseudoheader for checksum calculation
20
Thêm tài liệu vào bộ sưu tập có sẵn:
Báo xấu
LAVA
ERROR:connection to 10.20.1.100:9315 failed (errno=111, msg=Connection refused)
ERROR:connection to 10.20.1.100:9315 failed (errno=111, msg=Connection refused)
Đang xử lý...