[General boards] [Fall 2018 courses] [Summer 2018 courses] [Winter 2018 courses] [Older or newer terms]

Lecture 7 tutorial slides first question


im not sure why it only takes 1RTT to set up a TCP connection

since TCP using three way handshake, does it must take more than 1 RTT to establish the connection as 1RTT only take care of two way handshake only

can someone verify


It will take 1RTT for the SYN and SYN-ACK. Then you can piggyback the ACK for the SYN-ACK with your data so you aren’t wasting another RTT for the SYN-ACK-ACK.
In other words, you can start sending data after 1 RTT.


Although you need to send an ACK in the third part of the handshake, you can start sending data at that time, which is why you only wasted 1 RTT on connection setup.