UNIT-4
THE TRANSPORT LAYER
THE TRANSPORT LAYER
Recap…
THE TRANSPORT LAYER
Topics
THE TRANSPORT LAYER
Transport service
THE TRANSPORT LAYER
Transport service
Services Provided to the Upper Layers:
Transport service
Transport service
Services Provided to the Upper Layers:
2 types of services:
Transport service
The connection-oriented transport service :
connections have three phases:
Transport service
Transport Service Primitives
Transport service
Transport service
THE SOCKET PRIMITIVES FOR TCP
Berkeley Sockets
THE TRANSPORT LAYER
THE TRANSPORT LAYER
THE TRANSPORT LAYER
Elements of transport protocol
Elements of transport protocol
Elements of transport protocol
Addressing
Elements of transport protocol
Addressing
Elements of transport protocol
Addressing
Elements of transport protocol
Connection Establishment
Elements of transport protocol
Connection Release
Elements of transport protocol
Error Control and Flow Control
Error Control and Flow Control
Multiplexing
Crash Recovery
THE TRANSPORT LAYER
A Simple Transport Protocol
A Simple Transport Protocol
The Example Service Primitives
A Simple Transport Protocol
The Example Service Primitives
connum = LISTEN(local)
connum = CONNECT(local, remote)
status = SEND(connum, buffer, bytes)
status = RECEIVE(connum, buffer, bytes)
status = DISCONNECT(connum)
A Simple Transport Protocol
Packet Types
A Simple Transport Protocol
A Simple Transport Protocol