SlideShare uma empresa Scribd logo
1 de 23
Sarvajanik College Of Engineering
And Technology
Subject Name :- Computer Networks
Subject Code :- 2140709
Branch :- Computer Engineering Eve. (COE)
1
Group Members And Topic
 170420107559 – Uttam Thummar
 170420107560 – Dhriti Uttamchandani
 170420107561 – Keyur Vadodariya
 170420107562 – Aditya Vaghela
Topic:- Transport Layer - Introduction & Services,
Multiplexing & Demultiplexing
 Guided By :- Prof. Jaydeep Barad
Prof. Pariza Kamboj
2
Introduction
 Transport layer protocol provides logical communication between
application processes running on different hosts.
 Transport layer protocol are implemented in the end system but not
in network routers.
 On sending side , the transport layer converts the application layer
messages it receives from sending application process into transport
layer packets, known as transport layer segments.
 On the receiving side ,the transport layer reassembles segments ,
into messages ,passes to application layer.
Transport layer in OSI networking system
 Another purpose of Transport layer protocol is to ensure data
integrity by evaluating checksum. It is the value added to the data on
the source, defining data. If the checksum at the recipients end does
not match the initial checksum, the data would be retransmitted.
Functions of Transport layer
 This layer breaks messages into packets.
 It perform error recovery if the lower layer are not adequately error
free.
 Function of flow control if not done adequately at network layer.
 Function of multiplexing and demultiplexing sessions together.
 This layer can be responsible for setting up and releasing connection
across the network.
TRANSPORT LAYER SERVICES
Transport Layer is the second layer of TCP/IP model.
It is an end-to-end layer used to deliver messages to a host.
 It is termed as end-to-end layer because it provides a point-to-point
connection rather than hop-to- hop, between the source host and destination host
to deliver the services reliably
 The unit of data encapsulation in Transport Layer is a segment.
The standard protocols used by Transport Layer to enhance it’s functionalities are
 TCP(Transmission Control Protocol),
 UDP( User Datagram Protocol),
 DCCP( Datagram Congestion Control Protocol) etc.
1) Process to process delivery –
While Data Link Layer requires the MAC
address (48 bits address contained inside the
Network Interface Card of every host
machine) of source- destination hosts to
correctly deliver a frame in a similar way
Transport Layer requires a Port number to
correctly deliver the segments of data to the
correct process amongst the multiple processes
running on a particular host
TRANSPORT LAYER SERVICES
2. End-to-end Connection between
hosts –
 Transport layer is also responsible for
creating the end-to-end Connection
between hosts for which it mainly uses
TCP and UDP.
 TCP is a secure, connection- orientated
protocol which uses a handshake TCP
ensures reliable delivery of messages
and is used in various applications.
 It is a often used in multicasting
protocols.
TRANSPORT LAYER SERVICES
3. Congestion Control –
 Congestion is a situation in which too many sources over a network
attempt to send data and the router buffers start overflowing due to
which loss of packets occur.
 It uses open loop congestion control to prevent the congestion
and closed loop congestion control to remove the congestion in a
network once it occurred.
TRANSPORT LAYER SERVICES
4. Data integrity and Error correction –
 Transport layer checks for errors in the messages coming from
application layer by using error detection codes, computing
checksums, it checks whether the received data is not corrupted and
uses the ACK and NACK services to inform the sender if the data is
arrived or not and checks for the integrity of data.
TRANSPORT LAYER SERVICES
5. Flow control –
 Transport layer provides a flow control mechanism between the
adjacent layers of the TCP/IP model. TCP also prevents the data loss
due to a fast sender and slow receiver by imposing some flow
control techniques. It uses the method of sliding window protocol
which is accomplished by receiver by sending a window back to the
sender informing the size of data it can receive.
TRANSPORT LAYER SERVICES
Multiplexing :-
 Gathering data from multiple application processes of sender,
enveloping that data with header and sending them as a whole to the
intended receiver is called as multiplexing.
Demultiplexing :-
 Delivering received segments at receiver side to the correct app
layer processes is called as demultiplexing.
12
TRANSPORT LAYER SERVICES
Multiplexing
 The Transport Layer at source collects
data from various application process.
 These Segments contains :-
 Source Port No.
 Destination Port No.
 Header Files and Data.
 These Segment’s are passed to the
Network Layer which adds the source
& destination IP address to get the
Datagram
13
Demultiplexing
 Dest. Host receives IP Datagrams
 each datagram has source IP address,
destination IP address.
 each datagram carries 1 transport-
layer segment.
 each segment has source, destination
port number.
 Dest. Host uses IP addresses & port
numbers to direct segment to
appropriate socket.
14
How Multiplexing & Demultiplexing is Done15
Types Of Multiplexing & Demultiplexing
1. Connection Less Multiplexing & Demultiplexing
 Protocol - UDP
 Unreliable because UDP
2. Connection Oriented Multiplexing & Demultiplexing
 Protocol – TCP
 Reliable because TCP
16
Connection Less Mux - Demux
 Create sockets with port
numbers
 DatagramSocket
mySocket1 = new
DatagramSocket(99111);
 DatagramSocket
mySocket2 = new
DatagramSocket(99222);
UDP socket identified by two-
tuple
 dest IP address
 dest port number
17
 When host receives UDP
segment:
 checks destination port
number in segment
 directs UDP segment to
socket with that port
number
 IP datagrams with same
destination port but different
source IP addresses and/or
source port numbers directed
to same socket
Connection Less Mux - Demux18
Connection-Oriented Multiplexing and
Demultiplexing
 TCP socket identified by 4-tuple:
 Source IP Address
 Source Port Number
 Destination IP Address
 Destination Port Number
 Mux: Server uses all four values along with other data to form
a segment for a socket.
 Demux: Receiver uses all four values to direct segment to
appropriate socket.
Connection-Oriented Multiplexing and
Demultiplexing
 Two arriving TCP segments with different source IP
addresses or source port numbers will be directed to
different sockets.
 Server host may support many simultaneous TCP
sockets.
 Each socket identified by its own 4-tuple.
 Web servers have different sockets for each connecting
client.
 Non-persistent HTTP will have different socket
for each request.
Refrences
 Computer Networking-A Top-Down approach, 5thedition, Kurose
and Ross, Pearson.
 www.geekesforgeeks.org
 Data Communications and Networking (4th edition), Behrouz
Forouzan, McGraw Hill
22
Thank You23

Mais conteúdo relacionado

Mais procurados

Flow control and error control
Flow control and error controlFlow control and error control
Flow control and error control
BHUVIJAYAVELU
 

Mais procurados (20)

Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network security
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Multimedia system, Architecture & Databases
Multimedia system, Architecture & DatabasesMultimedia system, Architecture & Databases
Multimedia system, Architecture & Databases
 
Distributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithmDistributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithm
 
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
 
Computer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error CorrectionComputer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error Correction
 
Multiplexing in mobile computing
Multiplexing in mobile computingMultiplexing in mobile computing
Multiplexing in mobile computing
 
Transport layer
Transport layer Transport layer
Transport layer
 
Token ring
Token ringToken ring
Token ring
 
Network security - OSI Security Architecture
Network security - OSI Security ArchitectureNetwork security - OSI Security Architecture
Network security - OSI Security Architecture
 
Pgp pretty good privacy
Pgp pretty good privacyPgp pretty good privacy
Pgp pretty good privacy
 
Distributed Mutual exclusion algorithms
Distributed Mutual exclusion algorithmsDistributed Mutual exclusion algorithms
Distributed Mutual exclusion algorithms
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
Distance Vector Routing Protocols
Distance Vector Routing ProtocolsDistance Vector Routing Protocols
Distance Vector Routing Protocols
 
Flow control and error control
Flow control and error controlFlow control and error control
Flow control and error control
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And Correction
 
Shortest path algorithm
Shortest  path algorithmShortest  path algorithm
Shortest path algorithm
 
Application Layer
Application Layer Application Layer
Application Layer
 

Semelhante a Transport Layer Services : Multiplexing And Demultiplexing

Chapter3 transport layer
Chapter3 transport layerChapter3 transport layer
Chapter3 transport layer
Khánh Ghẻ
 

Semelhante a Transport Layer Services : Multiplexing And Demultiplexing (20)

Chapter Five - Transport Layer.pptx
Chapter Five - Transport Layer.pptxChapter Five - Transport Layer.pptx
Chapter Five - Transport Layer.pptx
 
Computer networks Module 3 Transport layer
Computer networks Module 3 Transport layerComputer networks Module 3 Transport layer
Computer networks Module 3 Transport layer
 
Unit 5.Transport Layer.pptx
Unit 5.Transport Layer.pptxUnit 5.Transport Layer.pptx
Unit 5.Transport Layer.pptx
 
lecturer3.pptx
lecturer3.pptxlecturer3.pptx
lecturer3.pptx
 
CN UNIT IV ..pptx
CN UNIT IV ..pptxCN UNIT IV ..pptx
CN UNIT IV ..pptx
 
TCP Vs UDP
TCP Vs UDP TCP Vs UDP
TCP Vs UDP
 
Lec6
Lec6Lec6
Lec6
 
07 coms 525 tcpip - udp
07    coms 525 tcpip - udp07    coms 525 tcpip - udp
07 coms 525 tcpip - udp
 
transport layer
transport layertransport layer
transport layer
 
COE332-Ch03d.pptx
COE332-Ch03d.pptxCOE332-Ch03d.pptx
COE332-Ch03d.pptx
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Transport Layer [Autosaved]
Transport Layer [Autosaved]Transport Layer [Autosaved]
Transport Layer [Autosaved]
 
Week10 transport
Week10 transportWeek10 transport
Week10 transport
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Unit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptxUnit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptx
 
Unit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptxUnit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptx
 
Week4 lec1-bscs1
Week4 lec1-bscs1Week4 lec1-bscs1
Week4 lec1-bscs1
 
Chapter3 transport layer
Chapter3 transport layerChapter3 transport layer
Chapter3 transport layer
 
Transport layer
Transport layerTransport layer
Transport layer
 
Transport_layer.ppt
Transport_layer.pptTransport_layer.ppt
Transport_layer.ppt
 

Mais de Keyur Vadodariya (7)

Constructors and Destructors
Constructors and DestructorsConstructors and Destructors
Constructors and Destructors
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
Signed Addition And Subtraction
Signed Addition And SubtractionSigned Addition And Subtraction
Signed Addition And Subtraction
 
Ocean Acidification
Ocean AcidificationOcean Acidification
Ocean Acidification
 
Polar Curves
Polar CurvesPolar Curves
Polar Curves
 
Laser And It's Application
Laser And It's ApplicationLaser And It's Application
Laser And It's Application
 
Air Compressors
Air CompressorsAir Compressors
Air Compressors
 

Último

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Último (20)

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 

Transport Layer Services : Multiplexing And Demultiplexing

  • 1. Sarvajanik College Of Engineering And Technology Subject Name :- Computer Networks Subject Code :- 2140709 Branch :- Computer Engineering Eve. (COE) 1
  • 2. Group Members And Topic  170420107559 – Uttam Thummar  170420107560 – Dhriti Uttamchandani  170420107561 – Keyur Vadodariya  170420107562 – Aditya Vaghela Topic:- Transport Layer - Introduction & Services, Multiplexing & Demultiplexing  Guided By :- Prof. Jaydeep Barad Prof. Pariza Kamboj 2
  • 3. Introduction  Transport layer protocol provides logical communication between application processes running on different hosts.  Transport layer protocol are implemented in the end system but not in network routers.  On sending side , the transport layer converts the application layer messages it receives from sending application process into transport layer packets, known as transport layer segments.  On the receiving side ,the transport layer reassembles segments , into messages ,passes to application layer.
  • 4. Transport layer in OSI networking system  Another purpose of Transport layer protocol is to ensure data integrity by evaluating checksum. It is the value added to the data on the source, defining data. If the checksum at the recipients end does not match the initial checksum, the data would be retransmitted.
  • 5. Functions of Transport layer  This layer breaks messages into packets.  It perform error recovery if the lower layer are not adequately error free.  Function of flow control if not done adequately at network layer.  Function of multiplexing and demultiplexing sessions together.  This layer can be responsible for setting up and releasing connection across the network.
  • 6. TRANSPORT LAYER SERVICES Transport Layer is the second layer of TCP/IP model. It is an end-to-end layer used to deliver messages to a host.  It is termed as end-to-end layer because it provides a point-to-point connection rather than hop-to- hop, between the source host and destination host to deliver the services reliably  The unit of data encapsulation in Transport Layer is a segment. The standard protocols used by Transport Layer to enhance it’s functionalities are  TCP(Transmission Control Protocol),  UDP( User Datagram Protocol),  DCCP( Datagram Congestion Control Protocol) etc.
  • 7. 1) Process to process delivery – While Data Link Layer requires the MAC address (48 bits address contained inside the Network Interface Card of every host machine) of source- destination hosts to correctly deliver a frame in a similar way Transport Layer requires a Port number to correctly deliver the segments of data to the correct process amongst the multiple processes running on a particular host TRANSPORT LAYER SERVICES
  • 8. 2. End-to-end Connection between hosts –  Transport layer is also responsible for creating the end-to-end Connection between hosts for which it mainly uses TCP and UDP.  TCP is a secure, connection- orientated protocol which uses a handshake TCP ensures reliable delivery of messages and is used in various applications.  It is a often used in multicasting protocols. TRANSPORT LAYER SERVICES
  • 9. 3. Congestion Control –  Congestion is a situation in which too many sources over a network attempt to send data and the router buffers start overflowing due to which loss of packets occur.  It uses open loop congestion control to prevent the congestion and closed loop congestion control to remove the congestion in a network once it occurred. TRANSPORT LAYER SERVICES
  • 10. 4. Data integrity and Error correction –  Transport layer checks for errors in the messages coming from application layer by using error detection codes, computing checksums, it checks whether the received data is not corrupted and uses the ACK and NACK services to inform the sender if the data is arrived or not and checks for the integrity of data. TRANSPORT LAYER SERVICES
  • 11. 5. Flow control –  Transport layer provides a flow control mechanism between the adjacent layers of the TCP/IP model. TCP also prevents the data loss due to a fast sender and slow receiver by imposing some flow control techniques. It uses the method of sliding window protocol which is accomplished by receiver by sending a window back to the sender informing the size of data it can receive. TRANSPORT LAYER SERVICES
  • 12. Multiplexing :-  Gathering data from multiple application processes of sender, enveloping that data with header and sending them as a whole to the intended receiver is called as multiplexing. Demultiplexing :-  Delivering received segments at receiver side to the correct app layer processes is called as demultiplexing. 12 TRANSPORT LAYER SERVICES
  • 13. Multiplexing  The Transport Layer at source collects data from various application process.  These Segments contains :-  Source Port No.  Destination Port No.  Header Files and Data.  These Segment’s are passed to the Network Layer which adds the source & destination IP address to get the Datagram 13
  • 14. Demultiplexing  Dest. Host receives IP Datagrams  each datagram has source IP address, destination IP address.  each datagram carries 1 transport- layer segment.  each segment has source, destination port number.  Dest. Host uses IP addresses & port numbers to direct segment to appropriate socket. 14
  • 15. How Multiplexing & Demultiplexing is Done15
  • 16. Types Of Multiplexing & Demultiplexing 1. Connection Less Multiplexing & Demultiplexing  Protocol - UDP  Unreliable because UDP 2. Connection Oriented Multiplexing & Demultiplexing  Protocol – TCP  Reliable because TCP 16
  • 17. Connection Less Mux - Demux  Create sockets with port numbers  DatagramSocket mySocket1 = new DatagramSocket(99111);  DatagramSocket mySocket2 = new DatagramSocket(99222); UDP socket identified by two- tuple  dest IP address  dest port number 17  When host receives UDP segment:  checks destination port number in segment  directs UDP segment to socket with that port number  IP datagrams with same destination port but different source IP addresses and/or source port numbers directed to same socket
  • 18. Connection Less Mux - Demux18
  • 19. Connection-Oriented Multiplexing and Demultiplexing  TCP socket identified by 4-tuple:  Source IP Address  Source Port Number  Destination IP Address  Destination Port Number  Mux: Server uses all four values along with other data to form a segment for a socket.  Demux: Receiver uses all four values to direct segment to appropriate socket.
  • 20. Connection-Oriented Multiplexing and Demultiplexing  Two arriving TCP segments with different source IP addresses or source port numbers will be directed to different sockets.  Server host may support many simultaneous TCP sockets.  Each socket identified by its own 4-tuple.  Web servers have different sockets for each connecting client.  Non-persistent HTTP will have different socket for each request.
  • 21.
  • 22. Refrences  Computer Networking-A Top-Down approach, 5thedition, Kurose and Ross, Pearson.  www.geekesforgeeks.org  Data Communications and Networking (4th edition), Behrouz Forouzan, McGraw Hill 22