KN Exp7
KN Exp7
Advantages of TCP
• Orderly Delivery: It guarantees that data reaches the intended destination in the same order it was
sent.
• Cooperation with IP: It works in harmony with the Internet Protocol (IP) to establish network
connections between devices.
Disadvantages of TCP
• Designed for Wide Area Networks (WANs): Due to its design for WANs, TCP can become
cumbersome for small networks with limited resources.
• Multi-Layer Operation: TCP operates across multiple layers, which can potentially slow down
network speed.
• Lack of Generality: TCP is specific to the TCP/IP suite and cannot support other protocol stacks,
such as Bluetooth connections.
• Static Protocol: TCP has seen minimal modifications since its inception around 30 years ago.
Functioning of Transmission
Connection Establishment (Three-Way Handshake)
The initial step in TCP communication involves setting up a dependable connection between the sender and
receiver. This process, known as the three-way handshake, unfolds as follows:
1. SYN (Synchronize): The client initiates the connection by sending a TCP packet with the SYN flag
set to the server. This packet includes a sequence number (ISN - Initial Sequence Number), which
indicates the starting point for byte numbers in the connection.
2. SYN-ACK (Synchronize-Acknowledge): Upon receiving the SYN packet, the server responds with
a SYN-ACK packet. This packet acknowledges the SYN and presents its own initial sequence
number for the connection.
3. ACK (Acknowledge): The client completes the process by sending an ACK packet to the server,
acknowledging the SYN-ACK. With this, the connection is fully established, and data transfer can
commence.