Unit4 2 Tcp&connectionmanagement
Unit4 2 Tcp&connectionmanagement
1
Transport Layer:
TCP & Connection Management
2
TCP
3
Table 1 Well-known ports used by TCP
4
Figure 1 Stream delivery
5
Figure 2 Sending and receiving buffers
6
Figure 3 TCP segments
7
Note
8
Example 1
9
Note
10
Note
11
Figure 4 TCP segment format
12
Figure 5 Control field
13
Table 2 Description of flags in the control field
14
TCP connection
Connection Establishment
Connection Termination
Connection Resetting
15
Figure 6 Connection establishment using three-way handshaking
16
Figure 7 Connection termination using three-way handshaking
17
Figure 8 Half-close
18
Figure 9 Sliding window
19
Note
20
Figure 10 Example 2
21
Silly Window Syndrome
22
Note
23
Figure 11 Normal operation
24
Figure 12 Lost segment
25
TCP Timers
Retransmission
Persistence
Keep-alive
Time-waited
26