TransportLayer-Network Layer

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

Transport Layer

BSCI v3.0—2-1
Transport Layer
Phan nay nghien cuu ve Tang Transport cua mo hinh TCP/IP

Cac tinh chat cua tang transport:

 Session multiplexing
 Segmentation
 Flow control (when required) Ksoat luong

Giao thuc o
 Connection-oriented
moi tang (when required)
 Reliability (when required)
Reliable vs. Best-Effort Comparison
UDP Characteristics
Dac diem cua giao thuc UDP

• Operates at transport layer of OSI and TCP/IP models


• Provides applications with access to the network layer
without the overhead of reliability mechanisms
• Is a connectionless protocol
• Provides limited error checking Knang ktra loi gioi han

• Provides best-effort delivery Truyen tong luc ko can biet ben kia co nhan dc ko

• Has no data-recovery features


UDP Header

Header
TCP Characteristics

• Transport layer of the TCP/IP stack


• Access to the network layer for applications
• Connection-oriented protocol
• Full-duplex mode operation
• Error checking
• Sequencing of data packets
• Acknowledgement of receipt
• Data-recovery features
TCP Header
Mapping Layer 3 to Layer 4
Mapping Layer 4 to Applications

Co luc thi su
dung giao thuc
TCP, luc thi
UDP
Establishing a Connection

Ket noi luan li (Logical)

Ket noi vat li (Physical)


Three-Way Handshake

Xac nhan va yeu cau gui tiep byte thu


101

CTL = Which control bits in the TCP header are set to 1


Flow Control
TCP Acknowledgment

A Truyen moi lan 1 byte - B xac nhan- B yeu cau gui- A gui tiep
Fixed Windowing

Truyen 1 lan 3 byte


TCP Sliding Windowing

Neu trong qua trinh gui co 1 byte bi loi thi:


TCP Sequence and Acknowledgment
Numbers

You might also like