- Why does a TCP protocol need 3-way handshake? When does it being used?
- What does functionalities that TCP have that UDP does not have?
- What does variable "reason" in ~/tcp.h do? When does it being used?
- How many error control mechanism does TCP have? What are they?
6 comments:
[Karin 107985]
1) The TCP protocol needs 3-way handshake reliable transmission.
[Nakrop Jinaporn 107936]
From Q4,
ACK, Timeout and Loss detection are the error control of TCP.
[Thanapol 107929]
The 3-way handshake is used at the connection setup
[Preechai, 108021]
3 What does variable "reason" in ~/tcp.h do? When does it being used?
It is the reason of how the error occors defined in tcp header, use in error control mechanism.
Thein Tun Aung/st108032
we set the syn_ variable to TURE in Agent/TCP to simulate the 3 way handshake.
The 3-way handshake enhance the reliability of transmission i.e. packet loss, and also flow control by increasing or decreasing the rate. Thats why Tcp uses 3way handshake.
As Tcp is connection oriented but Udp doent but the main functioality of tcp is error and flow control which Udp have not.
Two mechanism are being used for error control based on Acknowledgement and timeout.
Post a Comment