Lect 3
Lect 3
Format of data
Compression & decompression of data
Encoding & decoding of data
negotiates data transfer syntax for application layer
2018
Session Layer
Session
multiplexing
Segmentation
Flow control
(when
required)
Connection-
oriented
(when
required)
Reliability
(when
required)
Flow control
Buffer
Fixed Windowing
Windowing
Host A Host B
Send SYN
1 (seq=100 ctl=SYN)
SYN received
Send 2
Receive 2
Send ACK 3
Receive ACK 3
Send 3
Receive 3
I just
sent #10.
.
1028 23 10 1
TCP Sequence and Acknowledgment Numbers
I just
sent #10. I just got #10,
now I need #11
Source
1028 23 10 1
Source Dest. Seq. Ack.
23 1028 1 11
TCP Sequence and Acknowledgment Numbers
I just
sent #11. I just got #10,
now I need #11
I just
sent #11. I just got #11,
now I need #12
Transmission Control
Application Protocol (TCP)
Data Link
Physical
Type of protocol at transport layer
TCP (connection oriented protocol)
It must establish session before transmit the data ,
make recovery & control
UDP connectionless protocol
no session , no recovery & no control
TCP Characteristics
Options (0 or 32 if any)
Data (varies)
UDP Characteristics
F T S D T S R
Application T E M N F N I
Layer P L T S T M P
N P P P
E
T
Source Dest.
…
Port Port
Telnet Z
Host A Host Z