Вы находитесь на странице: 1из 32

Module 4

OSI Transport Layer

Objectives

Roles of the Transport Layer


The TCP Protocol Communicating with Reliability
Managing TCP Sessions
The UDP Protocol Communicating with Low Overhead

Roles of the Transport Layer

Purpose of the Transport Layer


Functions of the
Transport layer are:
Tracking the
individual
communication
between applications
on the source and
destination hosts
Segmenting data and
managing each piece
Reassembling the
segments into
streams of
application data
Identifying the
different applications

Tracking the Conversations

Segmentation

Controlling the Conversations

Supporting Reliable Communication

Transport Layer Protocols


Transmission Control
Protocol (TCP)
Connection-oriented
Reliable
Divide outgoing messages
into segments
Reassembles messages at
the destination station by
order
Re-send anything not
received
Reassembles messages
from incoming segments

User Datagram Protocol


(UDP)
Connectionless
Unreliable
Transmit messages
Provides no software
checking for message
delivery
Does not reassemble
incoming messages by
order
Uses no
acknowledgements
Provides no flow control
9

TCP and UDP

10

Port Addressing

11

Port Addressing
Well Known Ports
(Numbers 0 to 1023):
These numbers are
reserved for services and
applications
Registered Ports
(Numbers 1024 to 49151):
These port numbers are
assigned to user
processes or applications
Dynamic or Private
Ports (Numbers
49152 to 65535): Also
known as Ephemeral
Ports, these are
usually assigned
dynamically to client
applications when
initiating a connection
12

Port Addressing

13

Port Addressing

14

Segmentation and Reassembly


Divide and Conquer

15

The TCP Protocol


Communicating with Reliability

16

TCP Make Conversations Reliable


TCP Segment Header Fields

17

TCP Server Processes

18

TCP Connection Establishment and


Termination
TCP Connection Establishment

19

TCP Connection Establishment and


Termination

20

Managing TCP Sessions

21

TCP Segment Reassembly

22

TCP Acknowledgement with Windowing

23

TCP Retransmission
1

24

TCP Congestion Control Minimizing


Segment Loss

25

TCP Congestion Control Minimizing


Segment Loss

26

The UDP Protocol


Communicating with Low Overhead

27

UDP Low Overhead vs. Reliability

28

UDP Datagram Reassembly

29

UDP Server Processes and Requests

30

UDP Client Processes

31

Good luck with this module!

32

Вам также может понравиться