Transport Layer Functionality and Protocols: Tunis Business School Fall 2018
Transport Layer Functionality and Protocols: Tunis Business School Fall 2018
IT 310
Dr-Eng. Manel Abdelkader, Dr-Eng. Abir Touati
1. Session multiplexing
2. Segmentation
3. Connection-oriented
4. Reliability
5. Flow Control
F T S D T S R
T E M N F N I
Application P L T S T M P
Layer N P P P
E
T
1. Connection Establishment
2. Data Transfer
3. Connection Termination
Send SYN
1 (seq = 0 ctl = SYN)
SYN Received
Host A Host B
1 Send SYN
(seq = 0 ctl = SYN) SYN Received
2
Send SYN, ACK
(seq = 0 ack = 1
ctl = syn,ack)
SYN Received
Host A Host B
Send SYN
1 (seq = 0 ctl = SYN)
SYN Received
2
Send SYN, ACK
SYN Received (seq = 0 ack = 1
ctl = syn,ack)
3 Established,
(seq = 1 ack = 1
ctl = ack) Send ACK
Send 2
Receive 2
Send 3
Receive 3
Send 4
Receive 4
Send 2
Receive 2
Send ACK 3
Receive ACK 3
Send 3
Receive 3
Window Size = 1
Round Trip Time
Window Size = 3
Send 2
Window Size = 3
Send 3
ACK 3 Packet 3 Is
Window Size = 2 Dropped
Window Size = 2
Send 3
Window Size = 2
Send 4
ACK 5
Window Size = 2
TCP – Flow Control
2. If the error rate is high i.e. more frames are being damaged and then
retransmitting all the frames that arrived after a damaged frame waste the
lots of bandwidth. On the other hand, selective repeat protocol re-transmits
only damaged frame hence, minimum bandwidth is wasted.
3. In Go-Back-N receiver discards all the frames after the damaged frame
hence, it don’t need to store any frames. Selective repeat protocol does not
discard the frames arrived after the damaged frame instead it stores those
frames till the damaged frame arrives successfully and is sorted in a proper
sequence.
4. Generally the Go-Back-N is more is use due to its less complex nature
instead of Selective Repeat protocol.
28 IT310 - M.Abdelkader, A. Touati 25/01/2019
TCP – Congestion and Flow Control
Congestion control ensures that the sender does not overflow the network.
Comparing to the flow control technique where the flow control mechanism
ensures that the source host does not overflow the destination host, congestion
control is more global. It ensures that the capability of the routers along the path
does not become overflowed.
Bit
1 0 Bit 15 Bit 16 Bit 31
• No sequence orData
acknowledgment
(if Any) fields
UDP Protocol
Reliable Best-Effort
Sequencing Yes No