TCP Features
UDP Features
TCP Protocols
UDP Protocols
Socket pair
Combination of destination IP address and destination Port address or source IP address and destination port address
Explain 3 way handshake
Step 1: The initiating client requests a clientto-server communication session with the
server.
Step 2: The server acknowledges the clientto-server communication session and
requests a server-to-client communication
session.
Step 3: The initiating client acknowledges
the server-to-client communication session.
Explain session termination
Step 1: When the client has no more data
to send in the stream, it sends a segment
with the FIN flag set.
Step 2: The server sends an ACK to
acknowledge the receipt of the FIN to
terminate the session from client to server.
Step 3: The server sends a FIN to the client
to terminate the server-to-client session.
Step 4: The client responds with an ACK to
acknowledge the FIN from the server
How is data loss managed in tcp
How is flow control managed in tcp